POST
/
repositories
curl --request POST \
  --url https://api.greptile.com/v2/repositories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-GitHub-Token: <api-key>' \
  --data '{
  "remote": "<string>",
  "repository": "<string>",
  "branch": "<string>",
  "reload": true,
  "notify": true
}'
{
  "message": "<string>",
  "statusEndpoint": "<string>"
}

Initiates processing or reprocessing of a specified repository. Use the /repositories endpoint to check the status of the repository.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-GitHub-Token
string
header
required

Body

application/json

Response

200 - application/json

Repository processing started.

The response is of type object.