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
headerrequired

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

Body

application/json
github_token
string | null
provider_repo_id
integer
required

Response

201 - application/json
id
integer
provider_repo_id
integer
required
name
string
required
created_at
string