List project repositories
List repositories attached to a project. Pass ?default=true to limit the result to the default repo set.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Organization name
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Project name
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Query Parameters
If true, return only repositories in the default repo set
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/orgs/string/projects/string/repos"{ "items": [ { "created_at": "string", "default_branch": "string", "id": "string", "is_default": true, "name": "string", "project_id": "string", "updated_at": "string", "url": "string" } ]}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}Delete a project repository DELETE
Soft-delete a project repository.
List repository branches GET
List the branches of a project repository, sorted by name and read from its remote with the git credential that covers it. The remote's list is cached for 15 minutes. Pass ?refresh=true to read the remote again; a list fetched less than 10 seconds ago is returned as it is. Pass ?q= to return only the branches whose name contains that text.