summaryrefslogtreecommitdiff
path: root/check/app/server/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'check/app/server/api.py')
-rw-r--r--check/app/server/api.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/check/app/server/api.py b/check/app/server/api.py
index 620e604..5c5b4bf 100644
--- a/check/app/server/api.py
+++ b/check/app/server/api.py
@@ -16,5 +16,11 @@ api = Blueprint('api', __name__)
@api.route('/')
def index():
- """List the datasets and their fields"""
+ """API status noop"""
+ return jsonify({ 'status': 'ok' })
+
+@api.route('/v1/match/')
+def match():
+ """Search by image"""
+ # get threshold
return jsonify({ 'status': 'ok' })