公开 API

Release 外站同步状态

查询该 API Key 所属字幕组的普通 release 在六个外站的同步状态。

GET
/api/releases/{releaseId}/sync-status

授权

header授权Bearer <token>

字幕组 API Key。Authorization: Bearer <KEY>。与 X-API-Key 二选一,Bearer 优先。 Key scope:releases:publish、releases:delete、releases:sync:read,至少选一个。

路径参数

releaseId*string

rel_*,5–100 字符

匹配^rel_[A-Za-z0-9_-]+$
长度5 <= length <= 100

响应主体

六站同步状态

application/json
  1. response
ok*true
值于true
data*
示例请求
curl -X GET 'https://anibt.net/api/releases/string/sync-status'
{  "ok": true,  "data": {    "releaseId": "rel_example",    "title": "Example Release",    "publishedAt": 1790294400000,    "overall": "not_started",    "sites": [      {        "site": "mikan",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      },      {        "site": "acgrip",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      },      {        "site": "bangumi",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      },      {        "site": "acgnx",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      },      {        "site": "dmhy",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      },      {        "site": "nyaa",        "status": "not_started",        "externalId": null,        "externalUrl": null,        "error": null,        "generation": null,        "attempt": 0,        "createdAt": null,        "updatedAt": null,        "completedAt": null,        "history": [],        "historyTruncated": false      }    ]  }}