From 937d9907d24db47bbfbdcc171b994fd81aa8d920 Mon Sep 17 00:00:00 2001 From: Kun Deng Date: Sun, 13 Oct 2019 11:26:04 -0400 Subject: [PATCH] Updated Cover art (markdown) --- Cover-art.md | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/Cover-art.md b/Cover-art.md index 3c074aa..9d37675 100644 --- a/Cover-art.md +++ b/Cover-art.md @@ -1,5 +1,47 @@ ### Retrieve cover art **URI**: https://icarus-demo.com/api/v1/coverart/2 **Method**: Get -**Content type**: application/[png *or* jpeg] +**Content type**: application/json +**Authorization**: Bearer ``token`` +```Json +{ + "id": 2, + "songTitle": "Living For The City" +} +``` + +### Retrieve all cover art +**URI**: https://icarus-demo.com/api/v1/coverart +**Method**: Get +**Content type**: application/json +**Authorization**: Bearer ``token`` +```Json +[ + { + "id": 1, + "songTitle": "Honestly OK" + }, + { + "id": 2, + "songTitle": "Living For The City" + }, + { + "id": 3, + "songTitle": "Straighten Up and Fly Right" + }, + { + "id": 4, + "songTitle": "Melancholy Madeline (Frankie Laine - Vocal)" + }, + { + "id": 5, + "songTitle": "Got A Penny (Alternate Version)" + } +] +``` + +### Download cover art +**URI**: https://icarus-demo.com/api/v1/coverart/download +**Method**: Get +**Content type**: image/* **Authorization**: Bearer ``token`` \ No newline at end of file