mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 08:24:00 +02:00
title
| title |
|---|
| Video Destroy |
Video Destroy Endpoint
The video destroy endpoint soft deletes a video and returns the deleted video resource.
For example, the /api/video/Bakemonogatari-OP1.webm endpoint will soft delete the Bakemonogatari-OP1.webm video and return the deleted Bakemonogatari-OP1.webm resource.
URL
DELETE /api/video/{basename}
Authentication
Required Permission: delete video
Roles with Permission: Admin
Parameters
None
Response
{
video: {
id: id,
basename: "basename",
filename: "filename",
path: "path",
size: size,
mimetype: "mimetype",
resolution: resolution,
nc: nc,
subbed: subbed,
lyrics: lyrics,
uncen: uncen,
source: "source",
overlap: "overlap",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at",
tags: "tags",
link: "link"
}
}