mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
100 lines
2.2 KiB
Markdown
100 lines
2.2 KiB
Markdown
---
|
|
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 `/animeyear/2000` endpoint will return a listing of anime resources of year 2000 grouped by season and ordered by name.
|
|
|
|
## URL
|
|
|
|
```sh
|
|
GET /animeyear/{year}
|
|
```
|
|
|
|
## Authentication
|
|
|
|
None
|
|
|
|
## Parameters
|
|
|
|
| Name | Required | Description |
|
|
| :-----: | :------: | :------------------------------------------------------ |
|
|
| fields | No | Sparse fieldsets for resource types |
|
|
| include | No | Inclusion of related resources |
|
|
|
|
## Response
|
|
|
|
```json
|
|
{
|
|
winter: [
|
|
{
|
|
id: id,
|
|
name: "name",
|
|
slug: "slug",
|
|
year: year,
|
|
season: "season",
|
|
media_format: "media_format",
|
|
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",
|
|
media_format: "media_format",
|
|
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",
|
|
media_format: "media_format",
|
|
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",
|
|
media_format: "media_format",
|
|
synopsis: "synopsis",
|
|
created_at: "created_at",
|
|
updated_at: "updated_at",
|
|
deleted_at: "deleted_at"
|
|
},
|
|
...
|
|
],
|
|
}
|
|
```
|
|
|
|
## Example
|
|
|
|
```bash
|
|
curl https://api.animethemes.moe/animeyear/2000
|
|
```
|