mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-27 17:25:09 +02:00
title
| title |
|---|
| Song Store |
Song Store Endpoint
The song store endpoint creates a new song and returns the new song resource.
For example, the /api/song?title=staple+stable endpoint will create a new "staple stable" song and return the new "staple stable" resource.
URL
POST /api/song
Authentication
Required Permission: create 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"
}
}