mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-27 17:25:09 +02:00
62 lines
1.9 KiB
Markdown
62 lines
1.9 KiB
Markdown
---
|
|
title: Studio
|
|
---
|
|
|
|
# Studio
|
|
|
|
---
|
|
|
|
A studio API resource represents a company that produces anime.
|
|
|
|
For example, Shaft is the studio that produced the anime Bakemonogatari.
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Nullable | Default | Description |
|
|
| :--------: | :-----: | :------: | :-----: | :------------------------------------------- |
|
|
| id | Integer | No | Yes | The primary key of the resource |
|
|
| name | String | No | Yes | The primary title of the studio |
|
|
| slug | String | No | Yes | The URL slug & route key of the resource |
|
|
| created_at | Date | No | No | The date that the resource was created |
|
|
| updated_at | Date | No | No | The date that the resource was last modified |
|
|
| deleted_at | Date | Yes | No | The date that the resource was deleted |
|
|
|
|
## Allowed Include Paths
|
|
|
|
* anime
|
|
* images
|
|
* resources
|
|
|
|
## Allowed Pivots
|
|
|
|
* studioresource
|
|
|
|
## Endpoints
|
|
|
|
**[Studio Destroy](/content/studio/destroy/)**
|
|
|
|
The studio destroy endpoint soft deletes a studio and returns the deleted studio resource.
|
|
|
|
**[Studio Force Delete](/content/studio/forceDelete/)**
|
|
|
|
The studio force delete endpoint hard deletes a studio and returns a confirmation message.
|
|
|
|
**[Studio Index](/content/studio/index/)**
|
|
|
|
The studio index endpoint displays a listing of studio resources.
|
|
|
|
**[Studio Restore](/content/studio/restore/)**
|
|
|
|
The studio restore endpoint restores a soft deleted studio and returns the restored studio resource.
|
|
|
|
**[Studio Show](/content/studio/show/)**
|
|
|
|
The studio show endpoint returns a studio resource.
|
|
|
|
**[Studio Store](/content/studio/store/)**
|
|
|
|
The studio store endpoint creates a new studio and returns the new studio resource.
|
|
|
|
**[Studio Update](/content/studio/update/)**
|
|
|
|
The studio update endpoint updates a studio and returns the updated studio resource. |