Infra APIGithub
Save GitHub token
Exchanges an OAuth code for a token and stores it
POST
/api/v1/github/save-tokenExchanges an OAuth code for a token and stores it
Authorization
BearerAuth AuthorizationBearer <token>
Supabase JWT Bearer token
In: header
Request Body
application/json
OAuth code
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/github/save-token" \ -H "Content-Type: application/json" \ -d '{}'{ "message": "string"}{ "error": "string"}{ "error": "string", "message": "string"}{ "error": "string"}