diff options
Diffstat (limited to 'check/app/server/api.py')
| -rw-r--r-- | check/app/server/api.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/check/app/server/api.py b/check/app/server/api.py index 6b97b59..1b17a1e 100644 --- a/check/app/server/api.py +++ b/check/app/server/api.py @@ -18,12 +18,16 @@ api = Blueprint('api', __name__) @api.route('/') def index(): - """API status noop""" + """ + API status test endpoint + """ return jsonify({ 'status': 'ok' }) @api.route('/v1/match/', methods=['POST']) def upload(): - """Search by image""" + """ + Search by uploading an image + """ start = time.time() file = request.files['query_img'] |
