AniBTWiki
公開 API

釋出身份

GET /api/releases/publish —— 不寫庫。不要求 releases:publish。

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"  }}