Files
animethemes-api-docs/docs/jsonapi/reference/content/artist/store/index.md
T
2025-12-17 22:53:18 -03:00

1.1 KiB

title
title
Artist Store

Artist Store Endpoint

The artist store endpoint creates a new artist and returns the new artist resource.

For example, the /artist?name=Chiwa+Saito&slug=chiwa_saitou endpoint will create a new Chiwa Saitou artist and return the new Chiwa Saitou resource.

URL

POST /artist

Authentication

Required Permission: create artist

Roles with Permission: Content Moderator, Encoder, Admin

Parameters

Name Required Rules
name Yes string, max:192
slug Yes string, max:192, alpha_dash, unique
information No string, max:65535

Response

{
    artist: {
        id: id,
        name: "name",
        slug: "slug",
        information: "information",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at"
    }
}

Example

curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/artist/