Git repositories
List project repositories
List repositories attached to a project. Pass ?default=true to limit the result to the default repo set.
List repositories attached to a project. Pass ?default=true to limit the result to the default repo set.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
org*string
Organization name
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64project*string
Project name
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64Query Parameters
default?boolean
If true, return only repositories in the default repo set
Response Body
application/json
application/problem+json
curl -X GET "https://api-dev.tektona.ai/v1/orgs/string/projects/string/repos"{ "$schema": "https://api-dev.tektona.ai/schemas/ListBody.json", "items": [ { "$schema": "https://api-dev.tektona.ai/schemas/Response.json", "created_at": "string", "default_branch": "string", "id": "string", "is_default": true, "name": "string", "project_id": "string", "updated_at": "string", "url": "string" } ]}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "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"}