mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-09-03 11:15:29 +02:00
title
| title |
|---|
| Image |
Image
An image API resource represents a visual component for another resource such as an anime or artist.
For example, the Bakemonogatari anime has two images to represent small and large cover images.
Fields
| Name | Type | Description |
|---|---|---|
| id | Integer | The primary key of the resource |
| path | String | The path of the file in storage |
| size | Integer | The size of the file in storage in Bytes |
| mimetype | String | The media type of the file in storage |
| facet | Enum | The component that the resource is intended for {Small Cover, Large Cover} |
| link | String | The URL to stream the file from storage |
| created_at | Date | The date that the resource was created |
| updated_at | Date | The date that the resource was last modified |
| deleted_at | Date | The date that the resource was deleted |
Allowed Include Paths
- anime
- artists
Endpoints
The image show endpoint returns an image resource.
The image index endpoint displays a listing of image resources.