公開 API

字幕組自身資訊

GET /api/subtitle-groups/me —— 目前 Key 所屬字幕組、scope 與統計。建立 Key 的使用者必須仍為組員;成員離開或被移出字幕組時,他在該組的 Key 隨即撤銷並回傳 401,重新加入也不會恢復。每個請求都在校驗 Key 之前依來源計數。

GET
/api/subtitle-groups/me

授權

header授權Bearer <token>

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

回應主體

当前字幕组

application/json
  1. response
ok*true
值於true
data*
範例請求
curl -X GET 'https://anibt.net/api/subtitle-groups/me'
{  "ok": true,  "data": {    "organizationId": "org_example",    "name": "Example Group",    "slug": "example",    "status": "ACTIVE",    "createdAt": 1790294400000,    "stats": {      "totalReleases": 12,      "totalAnimes": 2,      "memberCount": 3    },    "apiKeyId": "sgak_example",    "apiKeySuffix": "abcd1234",    "scopes": [      "releases:sync:read"    ]  }}