2.5 KiB
title
| title |
|---|
| Featured Theme |
Featured Theme
A featured theme API resource represents a video to be featured on the homepage of the site for a specified amount of time.
Fields
| Name | Type | Nullable | Default | Description |
|---|---|---|---|---|
| id | Integer | No | Yes | The primary key of the resource |
| start_at | Date | No | Yes | The start date of the resource |
| end_at | Date | No | Yes | The end date 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
- animethemeentry
- animethemeentry.animetheme
- animethemeentry.animetheme.anime
- animethemeentry.animetheme.anime.images
- animethemeentry.animetheme.group
- animethemeentry.animetheme.song
- animethemeentry.animetheme.song.artists
- user
- video
Endpoints
The current featured theme show endpoint returns the first featured theme where the current date is between start_at and end_at dates.
The featured theme destroy endpoint soft deletes a featured theme and returns the deleted featured theme resource.
The featured theme force delete endpoint hard deletes a featured theme and returns a confirmation message.
The featured theme index endpoint displays a listing of featured theme resources.
The featured theme restore endpoint restores a soft deleted featured theme and returns the restored featured theme resource.
The featured theme show endpoint returns a featured theme resource.
The featured theme store endpoint creates a new featured theme and returns the new featured theme resource.
The featured theme update endpoint updates a featured theme and returns the updated featured theme resource.