mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
feat: adding relation between audio and video (#42)
This commit is contained in:
@@ -27,7 +27,7 @@ For example, the audio Bakemonogatari-OP1.ogg represents the audio track of the
|
||||
|
||||
### Allowed Include Paths
|
||||
|
||||
None
|
||||
* videos
|
||||
|
||||
### Endpoints
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ None
|
||||
| :----------: | :------: | :---------------------------------------------------------------------------- |
|
||||
| fields | No | Sparse fieldsets for resource types |
|
||||
| filter | No | Filters for anime resources & constraining the inclusion of related resources |
|
||||
| include | No | Inclusion of related resources |
|
||||
| page[number] | No | The page of anime resources to display |
|
||||
| page[size] | No | The number of anime resources to display for the current page |
|
||||
| sort | No | The list of fields to sort the resources |
|
||||
|
||||
@@ -22,9 +22,12 @@ None
|
||||
|
||||
## Parameters
|
||||
|
||||
| Name | Required | Description |
|
||||
| :-----: | :------: | :---------------------------------- |
|
||||
| fields | No | Sparse fieldsets for resource types |
|
||||
| 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
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ For example, the video Bakemonogatari-OP1.webm represents the WebM of the Bakemo
|
||||
* animethemeentries
|
||||
* animethemeentries.animetheme
|
||||
* animethemeentries.animetheme.anime
|
||||
* audio
|
||||
|
||||
### Endpoints
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ POST /video
|
||||
| uncen | No | boolean |
|
||||
| overlap | No | EnumValue {None, Trans, Over} |
|
||||
| source | No | EnumValue {Web, RAW, BD, DVD, VHS, LD} |
|
||||
| audio_id | No | integer, Audio ID exists |
|
||||
|
||||
## Response
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ PUT|PATCH /video/{basename}
|
||||
| uncen | No | boolean |
|
||||
| overlap | No | EnumValue {None, Trans, Over} |
|
||||
| source | No | EnumValue {Web, RAW, BD, DVD, VHS, LD} |
|
||||
| audio_id | No | integer, Audio ID exists |
|
||||
|
||||
## Response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user