公開 API
字幕組自身資訊
GET /api/subtitle-groups/me —— 目前 Key 所屬字幕組、scope 與統計。建立 Key 的使用者必須仍為組員;離組後保留的 Key 回傳 401。
授權Bearer <token>
字幕组 API Key。Authorization: Bearer <KEY>。与 X-API-Key 二选一,Bearer 优先。
Key scope:releases:publish、releases:delete、releases:sync:read,至少选一个。
位置: header
回應主體
application/json
application/json
application/json
curl -X GET "https://example.com/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" ] }}