Files
animethemes-api-docs/docs/animeyear/show
paranarimasu 57dd7eecd7 fix: update links to production domain (#23)
* fix: update links to production domain

* add missing README change
2022-05-31 20:46:45 -05:00
..

title
title
Year Show

Year Show Endpoint

The year show endpoint return a listing of anime resources for a given year grouped by season and ordered by name.

For example, the /api/animeyear/2000 endpoint will return a listing of anime resources of year 2000 grouped by season and ordered by name.

URL

GET /api/animeyear/{year}

Authentication

None

Parameters

Name Required Description
fields No Sparse fieldsets for resource types
include No Inclusion of related resources

Response

{
    winter: [
        {
            id: id,
            name: "name",
            slug: "slug",
            year: year,
            season: "season",
            synopsis: "synopsis",
            created_at: "created_at",
            updated_at: "updated_at",
            deleted_at: "deleted_at"
        },
        ...
    ],
    spring: [
        {
            id: id,
            name: "name",
            slug: "slug",
            year: year,
            season: "season",
            synopsis: "synopsis",
            created_at: "created_at",
            updated_at: "updated_at",
            deleted_at: "deleted_at"
        },
        ...
    ],
    summer: [
        {
            id: id,
            name: "name",
            slug: "slug",
            year: year,
            season: "season",
            synopsis: "synopsis",
            created_at: "created_at",
            updated_at: "updated_at",
            deleted_at: "deleted_at"
        },
        ...
    ],
    fall: [
        {
            id: id,
            name: "name",
            slug: "slug",
            year: year,
            season: "season",
            synopsis: "synopsis",
            created_at: "created_at",
            updated_at: "updated_at",
            deleted_at: "deleted_at"
        },
        ...
    ],
}
```bash curl https://api.animethemes.moe/animeyear/2000 ```