feat: adding allowed relation sort fields on theme (#10)

This commit is contained in:
paranarimasu authored and GitHub committed 2021-08-23 22:17:39 -05:00
1 parent 2f9fd47606
commit 0bc2157f3f
1 file changed
+8
+8
View File
@@ -40,6 +40,14 @@ GET /api/animetheme/
| deleted_at | Sort resources on the resource deletion date |
| random | Sort resources randomly. Ignored if other sort fields are provided. |
## Allowed Relation Sort Fields
| Name | Description |
| :----------: | :--------------------------------------------------------------------- |
| anime.season | Sort resources on the season of the anime that the resource belongs to |
| anime.year | Sort resources on the year of the anime that the resource belongs to |
| song.title | Sort resources on the title of the song that the resource belongs to |
## Filters
| Name | Description |