公开 API

字幕组自身信息

返回当前 API Key 所属字幕组的 organizationId、name、slug、ACTIVE 状态、统计和 scopes。

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"    ]  }}