v1
latestOpenAPI 3.0.02026-07-249055687.1 KBrepos
Create repository
Create a repository.
Repos collect Full scans and Diff scans and are typically associated with a git repo.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo:create
post/orgs/{org_slug}/repos
Path parameters
org_slugstring required
The slug of the organization
Query parameters
on_duplicatestring
Set to "redirect" to receive a 302 redirect to the existing repo instead of a 409 error when a duplicate slug is detected.
Request body
Response
Lists repositories for the specified organization. The authenticated user must be a member of the organization.