mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
1.7 KiB
1.7 KiB
title
| title |
|---|
| Track Backward Index |
Track Backward Index Endpoint
The track backward index endpoint returns a listing of tracks for the playlist in backward order before the specified track.
URL
GET /playlist/{playlist:id}/track/{track:id}/backward
Authentication
Required Permission: view playlist track
Other Requirements: If the playlist is private, the user must own the playlist
Parameters
| Name | Required | Description |
|---|---|---|
| fields | No | Sparse fieldsets for resource types |
| include | No | Inclusion of related resources |
| page[number] | No | The page of playlist resources to display |
| page[size] | No | The number of playlist resources to display for the current page |
Allowed Include Paths
- video
- video.animethemeentries.animetheme.anime.images
- video.animethemeentries.animetheme.group
- video.animethemeentries.animetheme.song.artists
- video.audio
Response
{
tracks: [
{
id: "id",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
},
...
],
links: {
first: "first",
last: "last",
prev: "prev",
next: "next"
},
meta: {
current_page: current_page,
from: from,
path: "path",
per_page: per_page,
to: to
}
}
Example
curl https://api.animethemes.moe/playlist/N4hG/track/Q3hD/backward