# Azure DevOps integration

These developer additions cover project/repository/PR discovery, builds, pipelines/runs, agents and releases. Existing canonical Project, Repository and Pull Request contracts are reused.

Canonical URL: https://opennodeflow.dev/wiki/integration-azure-devops/
JSON reference: https://opennodeflow.dev/wiki/integration-azure-devops/index.json
Source snapshot: 2026-10-23

Azure DevOps contributes **15 operations** in the current source catalog. Its implementation family belongs to the **DevOps** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

These developer additions cover project/repository/PR discovery, builds, pipelines/runs, agents and releases. Existing canonical Project, Repository and Pull Request contracts are reused.

Release Management defaults to its separate release API host; other operations use the standard DevOps API. Basic PAT identity/secret and per-resource permissions are explicit. The additions complement the wider typed event library; this source subset is not the full DevOps pack inventory.

## Configure the connection

Use the configured account username and a secret-stored password/API token. The example username is a placeholder.

The source default base origin is `https://dev.azure.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Read the chosen operation's permission entry before granting the account access. Least required target permissions are preferable to a broad administrator credential.

## First bounded read

Start with **Azure DevOps List Azure DevOps Projects**, which is declared as a read. Its synthetic argument fixture is:

```json
{
  "organization": "sample-org"
}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [Azure DevOps List Azure DevOps Projects](/wiki/reference-dev-azure-devops-projects-list/) | read | `GET /{organization}/_apis/projects` |
| [Azure DevOps Get Azure DevOps Project](/wiki/reference-dev-azure-devops-project-get/) | read | `GET /{organization}/_apis/projects/{project}` |
| [Azure DevOps Get Git Repository](/wiki/reference-dev-azure-devops-repository-get/) | read | `GET /{organization}/{project}/_apis/git/repositories/{repositoryId}` |
| [Azure DevOps Get Pull Request](/wiki/reference-dev-azure-devops-pull-request-get/) | read | `GET /{organization}/{project}/_apis/git/pullrequests/{pullRequestId}` |
| [Azure DevOps List Builds](/wiki/reference-dev-azure-devops-builds-list/) | read | `GET /{organization}/{project}/_apis/build/builds` |
| [Azure DevOps Get Build](/wiki/reference-dev-azure-devops-build-get/) | read | `GET /{organization}/{project}/_apis/build/builds/{buildId}` |
| [Azure DevOps Queue Build](/wiki/reference-dev-azure-devops-build-queue/) | write | `POST /{organization}/{project}/_apis/build/builds` |
| [Azure DevOps Get Build Timeline](/wiki/reference-dev-azure-devops-build-timeline-get/) | read | `GET /{organization}/{project}/_apis/build/builds/{buildId}/timeline` |
| [Azure DevOps List Pipelines](/wiki/reference-dev-azure-devops-pipelines-list/) | read | `GET /{organization}/{project}/_apis/pipelines` |
| [Azure DevOps Get Pipeline](/wiki/reference-dev-azure-devops-pipeline-get/) | read | `GET /{organization}/{project}/_apis/pipelines/{pipelineId}` |
| [Azure DevOps List Pipeline Runs](/wiki/reference-dev-azure-devops-pipeline-runs-list/) | read | `GET /{organization}/{project}/_apis/pipelines/{pipelineId}/runs` |
| [Azure DevOps Get Pipeline Run](/wiki/reference-dev-azure-devops-pipeline-run-get/) | read | `GET /{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}` |
| [Azure DevOps Run Pipeline](/wiki/reference-dev-azure-devops-pipeline-run/) | write | `POST /{organization}/{project}/_apis/pipelines/{pipelineId}/runs` |
| [Azure DevOps List Pool Agents](/wiki/reference-dev-azure-devops-agents-list/) | read | `GET /{organization}/_apis/distributedtask/pools/{poolId}/agents` |
| [Azure DevOps Get Release](/wiki/reference-dev-azure-devops-release-get/) | read | `GET /{organization}/{project}/_apis/release/releases/{releaseId}` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require `confirmWrites:true` and ONF runtime `$retries:0`. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/list?view=azure-devops-rest-7.1)
- [Provider reference 2](https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-7.1)
- [Provider reference 3](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/get-repository?view=azure-devops-rest-7.1)
- [Provider reference 4](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-request-by-id?view=azure-devops-rest-7.1)
- [Provider reference 5](https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-7.1)
- [Provider reference 6](https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/get?view=azure-devops-rest-7.1)
- [Provider reference 7](https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/queue?view=azure-devops-rest-7.1)
- [Provider reference 8](https://learn.microsoft.com/en-us/rest/api/azure/devops/build/timeline/get?view=azure-devops-rest-7.1)
- [Provider reference 9](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/list?view=azure-devops-rest-7.1)
- [Provider reference 10](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/get?view=azure-devops-rest-7.1)
- [Provider reference 11](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/list?view=azure-devops-rest-7.1)
- [Provider reference 12](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/get?view=azure-devops-rest-7.1)
- [Provider reference 13](https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-7.1)
- [Provider reference 14](https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/agents/list?view=azure-devops-rest-7.1)
- [Provider reference 15](https://learn.microsoft.com/en-us/rest/api/azure/devops/release/releases/get-release?view=azure-devops-rest-7.1)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/cloud-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
