Git repositories

List project repositories

List repositories attached to a project. Pass ?default=true to limit the result to the default repo set.

GET
/v1/orgs/{org}/projects/{project}/repos

List repositories attached to a project. Pass ?default=true to limit the result to the default repo set.

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]$
Length2 <= length <= 64
project*string

Project name

Match^[a-z0-9][a-z0-9-]*[a-z0-9]$
Length2 <= length <= 64

Query 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"    }  ]}