Publish other
POST /api/other-releases/publish — non-anime categories; torrent required. Idempotency-Key binds the complete request from first acceptance. Changed requests return 409 CONFLICT; unfinished legacy uploads without a binding return legacy_request_binding_missing. Use a new key for either case. A torrentStorageId whose torrent another release or another user's unexpired preview already uses returns 409 CONFLICT with error.reason TORRENT_IN_USE. See Conventions and authentication for replay and 503 retry rules.
AuthorizationBearer <token>字幕组 API Key。Authorization: Bearer <KEY>。与 X-API-Key 二选一,Bearer 优先。
Key scope:releases:publish、releases:delete、releases:sync:read,至少选一个。
Idempotency-Key?string同一 API Key 和端点的同一普通发布请求重试复用此值。已提交或已删除的旧命令返回原回执;删除后重新发布使用新值。不提供或为空时按新命令处理;超过 256 字符返回 422 VALIDATION_ERROR。跨站浏览器预检目前不允许此头。
1 <= length <= 256- body
category*string"manga""music""raw""stage""collection""movie""other"title?string省略时使用种子内部名称。
1 <= length <= 500magnetLink?string可选。须含 v1 infohash(xt=urn:btih 后接 40 位十六进制或 32 位 base32,xt 键不区分大小写,可与 urn:btmh 同用且不论先后);不合法时返回 422 VALIDATION_ERROR。
length <= 8192magnetBase64?string磁力链接的 UTF-8 Base64,或原始 magnet: 链接;规则与 magnetLink 相同。
1 <= length <= 12000trackers?string单个表单字段,换行分隔或 JSON 数组字符串;最多 50 项。
fileSize?integer0 <= value <= 9007199254740991notes?stringlength <= 50000descriptionMarkdown?stringlength <= 50000customTags?string单个表单字段,逗号分隔或 JSON 数组字符串;最多 20 项,每项最多 80 字符。
tags?string单个表单字段,逗号分隔或 JSON 数组字符串;最多 20 项,每项最多 80 字符。
magnet?stringmagnetLink 的别名。
length <= 8192content?stringlength <= 50000description?stringlength <= 50000intro?stringlength <= 50000nyaa?booleanpublishToNyaa?booleannyaaCategory?NyaaCategoryNyaa 分类代码。中文动画字幕常用 1_3。
1_1 Anime - AMV;1_2 English-translated;1_3 Non-English-translated;1_4 Raw;
2_1 Audio Lossless;2_2 Audio Lossy;
3_1 Literature English;3_2 Literature Non-English;3_3 Literature Raw;
4_1 Live Action English;4_2 Idol/PV;4_3 Live Action Non-English;4_4 Live Action Raw;
5_1 Pictures Graphics;5_2 Pictures Photos;
6_1 Software Applications;6_2 Software Games。
"1_1""1_2""1_3""1_4""2_1""2_2""3_1""3_2""3_3""4_1""4_2""4_3""4_4""5_1""5_2""6_1""6_2"nyaaComplete?booleannyaaRemake?booleannyaaDescription?string自定义 Nyaa 说明,最多 10240 个字符,与 Nyaa 的上限一致;按字符计,首尾空白不计。超出返回 422 VALIDATION_ERROR。
length <= 10240nyaaInformation?stringlength <= 500torrent*filebinary主记录已写入
application/json- response
ok*truetrueresult*curl -X POST 'https://anibt.net/api/other-releases/publish' \ -H 'Content-Type: application/json' \ -d '{ "category": "manga", "title": "string", "torrentStorageId": "string"}'{ "ok": true, "result": { "releaseId": "orel_example", "revision": 1, "torrentObjectId": "obj_example" }}