Infra APIGithub

Create GitHub repository

Creates a GitHub repository using the user's linked account

POST/api/v1/github/repositories/create

Creates a GitHub repository using the user's linked account

Authorization

BearerAuth
AuthorizationBearer <token>

Supabase JWT Bearer token

In: header

Request Body

application/json

Repo details

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/repositories/create" \  -H "Content-Type: application/json" \  -d '{}'
{  "html_url": "string",  "id": 0,  "name": "string"}
{  "error": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string"}