aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec.md b/spec.md
index ffb282a..2a53f3a 100644
--- a/spec.md
+++ b/spec.md
@@ -355,6 +355,12 @@ Returns the data in the music file specified by `<id>` in the format given by `<
* The `Content-Type` HTTP header must be set to the [correct mimetype](#mimetypes).
* The `X-Content-Duration` HTTP header must be returned with the response, if duration metadata is available, containing the duration of the requested song in seconds as a floating point number.
+### <a name="art"></a> Album Art
+
+#### `GET /query/albums/<search query>/images/<index>.jpg`
+
+Retrieve the album art for an album matching the given search query. This endpoint accepts the same pagination and sorting parameters as the above album query API. It returns the image associated with the `<index>`th album in the result list.
+
### <a name="zip"></a> Zip Bundles
#### `POST /zip`