Files
animethemes-api-docs/docs/studio/index

title
title
Studio Index

Studio Index Endpoint

The studio index endpoint returns a listing of studio resources.

URL

GET /api/studio/

Parameters

Name Required Description
fields No Sparse fieldsets for resource types
include No Inclusion of related resources
filter No Filters for studio resources & constraining the inclusion of related resources
sort No The list of fields to sort the resources
q No The query to search for matching studio resources
page[size] No The number of studio resources to display for the current page
page[number] No The page of studio resources to display

Allowed Sort Fields

Name Description
id Sort resources on the primary key
name Sort resources on the title of the studio
slug Sort resources on the URL slug of the studio
created_at Sort resources on the resource creation date
updated_at Sort resources on the resource last modified date
deleted_at Sort resources on the resource deletion date
random Sort resources randomly. Ignored if other sort fields are provided.

Filters

Name Description
id Filter resources on the primary key
name Filter resources on the title of the studio
slug Filter resources on the URL slug of the studio
created_at Filter resources on the resource creation date
updated_at Filter resources on the resource last modified date
deleted_at Filter resources on the resource deletion date
trashed Filter resources on trashed (deleted) status {With, Without, Only}
has Filter resources on relations within allowed include paths

Response

{
    studios: [
        {
            id: id,
            name: "name",
            slug: "slug",
            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
    }
}
```bash curl https://staging.animethemes.moe/api/studio/ ```