AniBTWiki
公开 API

发布身份

不写库。不要求 `releases:publish`。批量发布前确认 `groupSlug` 与 `scopes`。

GET
/api/releases/publish

授权

授权Bearer <token>

字幕组 API Key。Authorization: Bearer <KEY>。与 X-API-Key 二选一,Bearer 优先。 Key scope:releases:publish、releases:delete、releases:sync:read,至少选一个。

位置: header

响应主体

application/json

application/json

curl -X GET "https://example.com/api/releases/publish"
{  "ok": true,  "result": {    "groupId": "org_example",    "groupName": "Example Group",    "groupSlug": "example",    "apiKeyId": "sgak_example",    "apiKeySuffix": "abcd1234",    "scopes": [      "releases:publish",      "releases:delete",      "releases:sync:read"    ],    "kind": "anime"  }}