From 0bc2157f3f78028555d4f77292bfcb235fdbb8b4 Mon Sep 17 00:00:00 2001 From: paranarimasu <33796518+paranarimasu@users.noreply.github.com> Date: Mon, 23 Aug 2021 22:17:39 -0500 Subject: [PATCH] feat: adding allowed relation sort fields on theme (#10) --- docs/animetheme/index/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/animetheme/index/README.md b/docs/animetheme/index/README.md index 7fe4100..ae9cffd 100644 --- a/docs/animetheme/index/README.md +++ b/docs/animetheme/index/README.md @@ -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 |