Files
animethemes-api-docs/docs/wiki/artistsong/store/index.md
T

967 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: Wiki Editor, 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