diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-14 20:08:28 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-14 20:08:28 +0200 |
| commit | 890586175ff054cc01d39f9931ab2e4bae62c1e1 (patch) | |
| tree | 38abf826df54b3793cfb364a1dda9748f5d99ab6 /check/app/server/api.py | |
| parent | 61f169d109c9ba1c01ada06d830973c873d4e634 (diff) | |
search by phash
Diffstat (limited to 'check/app/server/api.py')
| -rw-r--r-- | check/app/server/api.py | 8 |
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' }) |
