| label | Soundtracks |
|---|---|
| icon | play |
Fetches a list of soundtracks.
| Method | Url | Description |
|---|---|---|
| [!badge variant="primary" text="GET"] | /api/{{api_version}}/soundtracks | Retrieves all. |
| [!badge variant="primary" text="GET"] | /api/{{api_version}}/soundtracks/{uuid} | Retrieves one by UUID. |
| [!badge variant="primary" text="GET"] | /api/{{api_version}}/soundtracks/random | Retrieves one random. |
Returns a json with the following stucture:
| Field | Data Type |
|---|---|
| uuid | UUID |
| href | String |
| name [!badge variant="info" text="Filter"] | String |
| duration [!badge variant="info" text="Filter"] | Int |
| artist [!badge variant="info" text="Filter"] | String |
| album [!badge variant="info" text="Filter"] | String |
| release_date [!badge variant="info" text="Filter"] | Date |
| urls | List<String> |
| thumbnail | String |
| sources | List<String> |
| created_at | Date |
| updated_at | Date |
!!!info Info
It's possible to use sort and order too.
See Filters
!!!
| Field | Example | Modification |
|---|---|---|
| name | ?name=Lorem |
EQUALS |
| duration | ?duration=245712 |
EQUALS |
| artist | ?artist=Ipsum |
EQUALS |
| album | ?album=Lorem Ipsum |
EQUALS |
| release_date | ?release_date=2018-01-01 |
EQUALS |