Properties
| Name | Type | Description |
|---|---|---|
| version | object | |
| settings | object | |
| queue | array | |
| playlist | array | |
| current | object | |
| playbackId | integer | |
| paused | boolean | |
| volume | integer | |
| positionSeconds | integer | |
| playlistCursor | integer | |
| player | object | |
| controlRevision | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/donolink/json-schema/donolink-bot-music-state-schema.json",
"title": "BotMusicState",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/donolink-openapi.json#/components/schemas/BotMusicState",
"type": "object",
"required": [
"version",
"settings",
"queue",
"playlist",
"current",
"playbackId",
"paused",
"volume",
"positionSeconds",
"playlistCursor"
],
"properties": {
"version": {
"const": 1
},
"settings": {
"$ref": "#/$defs/BotMusicSettings"
},
"queue": {
"type": "array",
"items": {
"$ref": "#/$defs/BotMusicEntry"
},
"maxItems": 100
},
"playlist": {
"type": "array",
"items": {
"$ref": "#/$defs/BotMusicTrack"
},
"maxItems": 500
},
"current": {
"anyOf": [
{
"$ref": "#/$defs/BotMusicEntry"
},
{
"type": "null"
}
]
},
"playbackId": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"paused": {
"type": "boolean"
},
"volume": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"positionSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"playlistCursor": {
"type": "integer",
"minimum": 0,
"maximum": 500
},
"player": {
"anyOf": [
{
"type": "null"
},
{
"type": "object",
"required": [
"id",
"generation",
"expiresAt"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"generation": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"expiresAt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
}
}
]
},
"controlRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$defs": {
"BotMusicEntry": {
"type": "object",
"required": [
"id",
"track",
"requester"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"track": {
"$ref": "#/$defs/BotMusicTrack"
},
"requester": {
"anyOf": [
{
"type": "null"
},
{
"type": "object",
"required": [
"platform",
"userId",
"userName"
],
"properties": {
"platform": {
"enum": [
"dashboard",
"twitch",
"youtube",
"discord"
]
},
"userId": {
"type": "string"
},
"userName": {
"type": "string"
}
}
}
]
}
}
},
"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
},
"BotMusicTrack": {
"type": "object",
"required": [
"provider",
"id",
"url",
"title",
"author",
"durationSeconds",
"music"
],
"properties": {
"provider": {
"type": "string",
"enum": [
"youtube",
"soundcloud"
]
},
"id": {
"type": "string",
"maxLength": 32
},
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string",
"maxLength": 300
},
"author": {
"type": "string",
"maxLength": 200
},
"durationSeconds": {
"type": "integer",
"minimum": 1,
"maximum": 86400
},
"music": {
"type": "boolean"
}
}
}
}
}
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-state"
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.