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