Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
repos
Link repository to project
curl --request POST \
  --url https://api.suprlogs.com/v1/projects/{projectId}/repos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "githubInstallationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "repoOwner": "<string>",
  "repoName": "<string>",
  "trackedBranch": "main"
}
'
{}

Authorizations

Authorization
string
header
required

Send API key as Authorization: Bearer .

Path Parameters

projectId
string<uuid>
required

Body

application/json
githubInstallationId
string<uuid>
required
repoOwner
string
required
repoName
string
required
trackedBranch
string
default:main

Response

Repository linked.

The response is of type object.