DevZero Logo
DevZero

Get Remote Repositories

Get remote repositories information

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

Header Parameters

Authorization
Required
string

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

Path Parameters

team_id
Required
string

ID of team

connection_id
Required
integer

ID of connection

Query Parameters

searchstring

Search for specific remote repositories

allboolean

Search for all repositories in all groups for connections

group_idstring

ID of the group to search repositories for

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"

OK

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