API Reference
Index Repository
POST
/
repositories
Initiates processing or reprocessing of a specified repository. Use the /repositories endpoint to check the status of the repository.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
X-GitHub-Token
string
headerrequiredBody
application/json
remote
string
Supported values are "github" or "gitlab".
repository
string
Repository identifier in "owner/repository" format.
branch
string
Branch name. Optional, defaults to repository's default branch.
reload
boolean
If false, won't reprocess if previously successful. Optional, default true.
notify
boolean
Whether to notify the user upon completion. Optional, default true.
Response
200 - application/json
message
string
Processing status message.
statusEndpoint
string
URL to check the status of the repository processing.