mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
1.2 KiB
1.2 KiB
title
| title |
|---|
| Audio Show |
Audio Show Endpoint
The audio show endpoint returns an audio resource.
For example, /audio/Bakemonogatari-OP1.ogg endpoint will return the Bakemonogatari-OP1.ogg audio.
URL
GET /audio/{basename}
Authentication
None
Parameters
| Name | Required | Description |
|---|---|---|
| fields | No | Sparse fieldsets for resource types |
| filter | No | Filters to constrain the inclusion of related resources |
| include | No | Inclusion of related resources |
| sort | No | Sort related resources |
Response
{
audio: {
id: id,
basename: "basename",
filename: "filename",
path: "path",
size: size,
mimetype: "mimetype",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at",
link: "link",
views_count: views_count
}
}
Example
curl https://api.animethemes.moe/audio/Bakemonogatari-OP1.ogg