mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
2.2 KiB
2.2 KiB
title
| title |
|---|
| Artist |
Artist
An artist API resource represents a musical performer of anime sequences.
For example, Chiwa Saitou is the musical performer of the Bakemonogatari OP1 theme, among many others.
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 artist |
| 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
- groups
- images
- members
- resources
- songs
- songs.animethemes
- songs.animethemes.anime
- songs.animethemes.group
Allowed Pivots
- artistmember
- artistresource
- artistsong
Endpoints
The artist destroy endpoint soft deletes an artist and returns the deleted artist resource.
The artist force delete endpoint hard deletes an artist and returns a confirmation message.
The artist index endpoint displays a listing of artist resources.
The artist restore endpoint restores a soft deletesd artist and returns the restored artist resource.
The artist show endpoint returns an artist resource.
The artist store endpoint creates a new artist and returns the new artist resource.
The artist update endpoint updates an artist and returns the updated artist resource.