Add repositories
Register one or more repository assets for the authenticated organization.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
- object
- object[]
One repository object, or an array of repository objects to add in one request.
Provider installation ID (for example the GitHub App installation) that has access to the repository. Required for github, gitlab, bitbucket and azure_repos; it must belong to the organization.
Enterprise asset labels for RBAC scoping. Requires the Enterprise plan.
Enterprise asset label for RBAC scoping. Requires the Enterprise plan.