mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-09-04 11:45:26 +02:00
title
| title |
|---|
| Entry Index |
Entry Index Endpoint
The entry index endpoint returns a listing of entry resources.
URL
GET /api/entry/
Parameters
| Name | Required | Description |
|---|---|---|
| fields | No | Sparse fieldsets for resource types |
| include | No | Inclusion of related resources |
| filter | No | Filters for entry resources & constraining the inclusion of related resources |
| sort | No | The list of fields to sort the resources. Ignored if search query is present. |
| q | No | The query to search for matching entry resources |
| page[size] | No | The number of entry resources to display for the current page |
| page[number] | No | The page of entry resources to display |
Allowed Sort Fields
- entry_id
- theme_id
- version
- nsfw
- spoiler
- created_at
- updated_at
- deleted_at
Filters
- version
- nsfw
- spoiler
- created_at
- updated_at
- deleted_at
- trashed status
Response
Status: 200
{
entries: [
{
id: id,
version: version,
episodes: "episodes",
nsfw: nsfw,
spoiler: spoiler,
notes: "notes",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
},
...
],
links: {
first: "first",
last: "last",
prev: "prev",
next: "next"
},
meta: {
current_page: current_page,
from: from,
path: "path",
per_page: per_page,
to: to
}
}