mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [titles] add api to get all titles
This commit is contained in:
parent
05c8100b8b
commit
811ee45993
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ def v1_ping():
|
||||||
@restApi.route("api/v1/titles/download", methods=['GET'])
|
@restApi.route("api/v1/titles/download", methods=['GET'])
|
||||||
@token_required('read_only')
|
@token_required('read_only')
|
||||||
def objects_titles_downloads():
|
def objects_titles_downloads():
|
||||||
return Response(Titles.Titles().get_contents_ids(), mimetype='application/json'), 200
|
return Response(json.dumps(Titles.Titles().get_contents_ids()), mimetype='application/json'), 200
|
||||||
|
|
||||||
|
|
||||||
# ========= REGISTRATION =========
|
# ========= REGISTRATION =========
|
||||||
|
|
Loading…
Reference in a new issue