AgentConnect
Azure DevOps

List bound Azure DevOps repositories

The organization’s bound repositories with their state: ready, or runtime_degraded with secret_rejected, access_revoked or repository_unavailable. A repository with Azure DevOps triggers also carries its service hook subscriptions, one per delivery kind, and hookReason while they are not known to deliver: webhook_unverified until a delivery verifies, triggers_not_allowed when the application lacks View and Edit subscriptions on the project, relay_url_unconfigured, or subscriptions_failed.

GET
/v1/orgs/{orgId}/azure-devops/repositories

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Response Body

application/json

curl -X GET "https://example.com/v1/orgs/string/azure-devops/repositories"
{  "bindings": [    {      "id": "string",      "connectionId": "string",      "repoId": "string",      "repositoryId": "string",      "projectId": "string",      "repoPath": "string",      "cloneUrl": "string",      "defaultBranch": "string",      "state": "ready",      "stateReason": "secret_rejected",      "hookReason": "webhook_unverified",      "lastVerifiedDeliveryAt": "string",      "subscriptions": [        {          "kind": "string",          "status": "string"        }      ],      "createdAt": "string"    }  ]}