Updated Cover art (markdown)

Kun Deng
2019-10-13 11:26:04 -04:00
parent df048949d8
commit 937d9907d2
+43 -1
@@ -1,5 +1,47 @@
### Retrieve cover art ### Retrieve cover art
**URI**: https://icarus-demo.com/api/v1/coverart/2 **URI**: https://icarus-demo.com/api/v1/coverart/2
**Method**: Get **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`` **Authorization**: Bearer ``token``