DevZero Logo

DevZero

Get Remote Repositories

Get remote repositories information

GET
/v2/teams/{team_id}/dxi/dora/{connection_id}/remote-repositories

Path Parameters

team_idstring

ID of team

connection_idinteger

ID of connection

Query Parameters

search?string

Search for specific remote repositories

all?boolean

Search for all repositories in all groups for connections

group_id?string

ID of the group to search repositories for

Header Parameters

Authorizationstring

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

Response Body

curl -X GET "https://api.devzero.io/backend/v0/v2/teams/string/dxi/dora/0/remote-repositories?search=string&all=true&group_id=string" \
  -H "Authorization: string"
{
  "connection_id": 0,
  "repositories": [
    {
      "details": {
        "clone_url": "string",
        "fullname": "string",
        "github_id": 0,
        "html_url": "string",
        "id": "string",
        "name": "string",
        "owner_id": 0
      },
      "fullname": "string",
      "id": "string",
      "name": "string",
      "type": "string"
    }
  ]
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}