AniBT Wiki
公开 API

发布其他类资源

POST /api/other-releases/publish —— 发布七类其他资源;不绑定 bgmId。

漫画、音乐、RAW、舞台剧、合集、剧场版、其他。要求 releases:publish。不混入番剧列表。

POST /api/other-releases/publish

鉴权 · releases:publish

categorytitle 必填;torrent / torrentStorageId / magnetLink / magnetBase64 至少一个。

Key 不要写进客户端、仓库或 issue。notes 中的 HTML 会直接渲染。

完整字段见 接口参考。Nyaa 分类代码见 发布资源

身份自检

GET 同一路径,不写库。kindother

whoami
curl -X GET 'https://anibt.net/api/other-releases/publish' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

发布

上传种子
curl -X POST 'https://anibt.net/api/other-releases/publish' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -F 'category=manga' \
  -F 'title=Example Manga Vol.01' \
  -F 'customTags=电子版,中文' \
  -F 'torrent=@/path/to/release.torrent'
代码RSS
manga/rss/other/manga.xml
music/rss/other/music.xml
raw/rss/other/raw.xml
stage/rss/other/stage.xml
collection/rss/other/collection.xml
movie/rss/other/movie.xml
other/rss/other/other.xml
  • title 最长 500 字符。
  • customTags 最多 20 个,每个最长 80 字符。别名 tags
  • 无 torrent 时正式发布必须 fileSize > 0,否则 422 / EMPTY_RELEASE_CONTENT
  • Nyaa 代发规则与番剧发布相同:白名单、multipart、Nyaa tracker。漫画翻译常用 3_2,无损音乐 2_1,RAW / 实拍 4_4,动画 RAW 1_4

releaseId 详情页:https://anibt.net/other-release/<releaseId>

失败

HTTP处理
400补齐 category / title / 种子或磁力
401检查 Bearer / X-API-Key
403改用含 releases:publish 的 Key
404torrentStorageId 不存在;改用 multipart 上传
429 / 503Retry-After 退避

本页目录