mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
944 B
944 B
title
| title |
|---|
| Studio Resource Store |
Studio Resource Store Endpoint
The studio resource store endpoint creates a new studio resource and returns the new studio resource resource.
For example, the /studioresource/shaft/14891 endpoint will create a new association between the Shaft studio and the external resource of id 14891.
URL
POST /studioresource/{studio:slug}/{resource:id}
Authentication
Required Permission: create studio, create external resource
Roles with Permission: Wiki Editor, Encoder, Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| as | No | string, max:192 |
Response
{
studioresource: {
created_at: "created_at",
updated_at: "updated_at",
as: "as"
}
}
Example
curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/studioresource/shaft/14891