mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
973 B
973 B
title
| title |
|---|
| Artist Song Store |
Artist Song Store Endpoint
The artist song store endpoint creates a new artist song and returns the new artist song resource.
For example, the /artistsong/chiwa_saitou/3373 endpoint will create a new association between the Chiwa Saitou artist and the "staple stable" song.
URL
POST /artistsong/{artist:slug}/{song:id}
Authentication
Required Permission: create artist, create song
Roles with Permission: Content Moderator, Encoder, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| alias | No | string, max:192 |
| as | No | string, max:192 |
Response
{
artistsong: {
created_at: "created_at",
updated_at: "updated_at",
alias: "alias",
as: "as"
}
}
Example
curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/artistsong/chiwa_saitou/3373