Files

56 lines
2.1 KiB
Markdown

---
title: Video Script
---
# Video Script
---
A video script API resource represents an encoding script used to produce a video.
For example, the 2009/Summer/Bakemonogatari-OP1.txt video script represents the encoding script of the Bakemonogatari-OP1.webm video.
## Fields
| Name | Type | Nullable | Default | Description |
| :--------: | :-----: | :------: | :-----: | :--------------------------------------------|
| id | Integer | No | Yes | The primary key of the resource |
| path | String | No | Yes | The path of the file in storage |
| 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 |
| link | String | No | Yes | The URL to download the file from storage |
## Allowed Include Paths
* video
## Endpoints
**[Video Script Destroy](/content/videoscript/destroy/)**
The video script destroy endpoint soft deletes a video script and returns the deleted video script resource.
**[Video Script Force Delete](/content/videoscript/forceDelete/)**
The video script force delete endpoint hard deletes a video script and returns a confirmation message.
**[Video Script Index](/content/videoscript/index/)**
The video script index endpoint displays a listing of video script resources.
**[Video Script Restore](/content/videoscript/restore/)**
The video script restore endpoint restores a soft deleted video script and returns the restored video script resource.
**[Video Script Show](/content/videoscript/show/)**
The video script show endpoint returns a video script resource.
**[Video Script Store](/content/videoscript/store/)**
The video script store endpoint creates a new video script and returns the new video script resource.
**[Video Script Update](/content/videoscript/update/)**
The video script update endpoint updates a video script and returns the updated video script resource.