mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add api docs for streaming routes
+ add trackhash schema
This commit is contained in:
committed by
Mungai Njoroge
parent
7d064a8562
commit
fb635ff35f
+2
-1
@@ -29,6 +29,7 @@ from app.api import (
|
||||
getall,
|
||||
)
|
||||
|
||||
# TODO: Move this description to a separate file
|
||||
open_api_description = f"""
|
||||
The REST API exposed by your Swing Music server
|
||||
|
||||
@@ -65,7 +66,7 @@ def create_api():
|
||||
with app.app_context():
|
||||
app.register_api(album.api)
|
||||
app.register_api(artist.api)
|
||||
app.register_blueprint(send_file.api)
|
||||
app.register_api(send_file.api)
|
||||
app.register_blueprint(search.api)
|
||||
app.register_blueprint(folder.api)
|
||||
app.register_blueprint(playlist.api)
|
||||
|
||||
Reference in New Issue
Block a user