公开 API
发布身份
不写库。不要求 `releases:publish`。批量发布前确认 `groupSlug` 与 `scopes`。
GET
header
授权Bearer <token>字幕组 API Key。Authorization: Bearer <KEY>。与 X-API-Key 二选一,Bearer 优先。
Key scope:releases:publish、releases:delete、releases:sync:read,至少选一个。
当前 Key 的发布身份
application/json- response
ok*true值于
trueresult*curl -X GET 'https://anibt.net/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" }}个人订阅 RSS GET
使用「我的订阅」生成的完整私人链接;key 是个人 RSS 令牌,不是字幕组 API Key。token 为兼容别名,同时提供时 key 优先。
发布番剧资源 POST
番剧发布必须指定 animeIdType 与 animeId,不按标题匹配番剧。 Idempotency-Key 从首次受理起绑定完整请求。同键改参返回 409 CONFLICT;缺少绑定的旧未完成上传请求返回 legacy_request_binding_missing,两者均须使用新键。本组已有的同一版本再次发布返回 409 CONFLICT,error.reason 为 RELEASE_VERSION_EXISTS。torrentStorageId 指向的种子已被其他资源或他人未过期的预览使用时返回 409 CONFLICT,error.reason 为 TORRENT_IN_USE。重放及 503 重试规则见「接口约定与鉴权」。
