POST
/
api
/
v1
/
repos
curl --request POST \
  --url https://api.quackai.com/api/v1/repos/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "github_token": "<string>",
  "provider_repo_id": 123
}'
{
  "id": 123,
  "provider_repo_id": 123,
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
provider_repo_id
integer
required
Required range: x > 0
github_token
string | null

Response

201 - application/json
name
string
required
Required string length: 2 - 100
provider_repo_id
integer
required
Required range: x > 0
created_at
string
id
integer