GET
/
organizations
/
{org_id}
/
repos
curl --request GET \
  --url https://api.diversion.dev/v0/organizations/{org_id}/repos \
  --header 'Authorization: Bearer <token>'
{
  "object": "Repo",
  "items": [
    {
      "repo_name": "repo-name",
      "description": "<string>",
      "organization_id": "<string>",
      "repo_id": "example_id",
      "default_branch_id": "<string>",
      "default_branch_name": "<string>",
      "size_bytes": 123,
      "owner_user_id": "<string>",
      "created_timestamp": 123,
      "sync_git_repo_url": "<string>",
      "sync_git_level": 4,
      "digest_method": "sha1"
    }
  ]
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

org_id
string
required

An ID of an organization

Response

200
application/json

Success

The response is of type object.