Properties
| Name | Type | Description |
|---|---|---|
| operationKey | string | Unique per logical operation within this owner's API namespace. Reuse unchanged on an uncertain retry. |
| revision | integer | |
| action | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/donolink/json-schema/donolink-bot-music-update-schema.json",
"title": "BotMusicUpdate",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/donolink-openapi.json#/components/schemas/BotMusicUpdate",
"type": "object",
"required": [
"operationKey",
"revision",
"action"
],
"properties": {
"operationKey": {
"type": "string",
"minLength": 16,
"maxLength": 100,
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Unique per logical operation within this owner's API namespace. Reuse unchanged on an uncertain retry."
},
"revision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"action": {
"$ref": "#/$defs/BotMusicAction"
}
},
"additionalProperties": false,
"$defs": {
"BotMusicAction": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"query"
],
"properties": {
"kind": {
"const": "request"
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Provider URL or search text. Metadata is resolved on the server; no control characters."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"query"
],
"properties": {
"kind": {
"const": "playlist-add"
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Provider URL or search text. Metadata is resolved on the server; no control characters."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"settings"
],
"properties": {
"kind": {
"const": "settings"
},
"settings": {
"$ref": "#/$defs/BotMusicSettings"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"provider",
"id"
],
"properties": {
"kind": {
"const": "playlist-remove"
},
"provider": {
"type": "string",
"enum": [
"youtube",
"soundcloud"
]
},
"id": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"entryId"
],
"properties": {
"kind": {
"const": "remove"
},
"entryId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"entryId"
],
"properties": {
"kind": {
"const": "promote"
},
"entryId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"entryId",
"position"
],
"properties": {
"kind": {
"const": "move"
},
"entryId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"position": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"volume"
],
"properties": {
"kind": {
"const": "volume"
},
"volume": {
"type": "integer",
"minimum": 0,
"maximum": 100
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"playbackId",
"positionSeconds"
],
"properties": {
"kind": {
"const": "seek"
},
"playbackId": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"positionSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"const": "play"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"const": "pause"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"const": "skip"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"const": "clear"
}
},
"additionalProperties": false
}
]
},
"BotMusicSettings": {
"type": "object",
"required": [
"enabled",
"role",
"providers",
"searchProvider",
"queueLimit",
"userLimit",
"exemptRole",
"maxDurationSeconds",
"playlistOnly",
"youtubeMusicOnly",
"fallback"
],
"properties": {
"enabled": {
"type": "boolean"
},
"role": {
"type": "string",
"enum": [
"everyone",
"subscriber",
"regular",
"vip",
"moderator",
"admin",
"owner"
]
},
"providers": {
"type": "array",
"items": {
"type": "string",
"enum": [
"youtube",
"soundcloud"
]
},
"maxItems": 2,
"minItems": 1,
"uniqueItems": true
},
"searchProvider": {
"type": "string",
"enum": [
"youtube",
"soundcloud"
],
"description": "Must be included in providers."
},
"queueLimit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"userLimit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"exemptRole": {
"type": "string",
"enum": [
"everyone",
"subscriber",
"regular",
"vip",
"moderator",
"admin",
"owner"
]
},
"maxDurationSeconds": {
"type": "integer",
"minimum": 1,
"maximum": 86400
},
"playlistOnly": {
"type": "boolean"
},
"youtubeMusicOnly": {
"type": "boolean"
},
"fallback": {
"type": "boolean"
},
"publicLists": {
"type": "boolean",
"default": false,
"description": "Allow public queue and playlist pages. Opt-in; omitted values default to false."
}
},
"additionalProperties": false
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/donolink-bot-music-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.