Infra APIGithub
Get GitHub token info
Returns scopes and user info for the stored token
GET
/api/v1/github/token-infoReturns scopes and user info for the stored token
Authorization
BearerAuth AuthorizationBearer <token>
Supabase JWT Bearer token
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/github/token-info"{ "scopes": "string", "token_preview": "string"}{ "error": "string", "message": "string"}{ "error": "string"}{ "error": "string"}