mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 08:24:00 +02:00
title
| title |
|---|
| Song Update |
Song Update Endpoint
The song update endpoint updates a song and returns the updated song resource.
For example, the /api/song/song?title=staple+stable endpoint will update the "staple stable" song title attribute and return the updated "staple stable" resource.
URL
PUT|PATCH /api/song/{id}
Authentication
Required Permission: update song
Roles with Permission: Wiki Editor, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| title | No | string, max:192 |
Response
{
song: {
id: id,
title: "title",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}