其他類釋出身份
GET /api/other-releases/publish —— kind 為 other。不寫庫。
授權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*truetrueresult*curl -X GET 'https://anibt.net/api/other-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": "other" }}釋出番劇資源 POST
POST /api/releases/publish —— 字幕組用 API Key 釋出種子。Idempotency-Key 自首次受理起綁定完整請求。同鍵變更參數回傳 409 CONFLICT;缺少綁定的舊未完成上傳請求回傳 legacy_request_binding_missing,兩者均須使用新鍵。本組已有的同一版本再次釋出回傳 409 CONFLICT,error.reason 為 RELEASE_VERSION_EXISTS。torrentStorageId 指向的種子已被其他資源或他人未逾期的預覽使用時回傳 409 CONFLICT,error.reason 為 TORRENT_IN_USE。回放與 503 重試規則見「介面約定與鑑權」。
釋出其他類資源 POST
POST /api/other-releases/publish —— category 與 title 必填。Idempotency-Key 自首次受理起綁定完整請求。同鍵變更參數回傳 409 CONFLICT;缺少綁定的舊未完成上傳請求回傳 legacy_request_binding_missing,兩者均須使用新鍵。torrentStorageId 指向的種子已被其他資源或他人未逾期的預覽使用時回傳 409 CONFLICT,error.reason 為 TORRENT_IN_USE。回放與 503 重試規則見「介面約定與鑑權」。
