From 2b77ccf40afccd7332054ff09e592db3aff7b5f1 Mon Sep 17 00:00:00 2001 From: Michael Elrom Date: Mon, 14 Sep 2026 12:02:15 -0400 Subject: [PATCH 1/2] feat(azure-devops): add Azure DevOps Integration Model and Studio Project Curated OpenAPI spec (55 operations across Projects & Teams, Git Repositories, Git Pull Requests, Build, Build Definitions, Pipelines, and Work Item Tracking) derived from the official microsoft/azure-devops-node-api SDK, plus a companion Studio Project with one workflow per operation. --- .../OpenAPIs/azure_devops-latest.json | 4928 +++++++++++ Microsoft/Azure DevOps/README.md | 99 + .../Studio Projects/Azure DevOps.project.json | 7830 +++++++++++++++++ README.md | 2 +- 4 files changed, 12858 insertions(+), 1 deletion(-) create mode 100644 Microsoft/Azure DevOps/OpenAPIs/azure_devops-latest.json create mode 100644 Microsoft/Azure DevOps/README.md create mode 100644 Microsoft/Azure DevOps/Studio Projects/Azure DevOps.project.json diff --git a/Microsoft/Azure DevOps/OpenAPIs/azure_devops-latest.json b/Microsoft/Azure DevOps/OpenAPIs/azure_devops-latest.json new file mode 100644 index 0000000..04aebf4 --- /dev/null +++ b/Microsoft/Azure DevOps/OpenAPIs/azure_devops-latest.json @@ -0,0 +1,4928 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "Azure DevOps", + "description": "Authentication: HTTP Basic (Personal Access Token as the password, blank username). Azure DevOps Services is Microsoft's SaaS platform for source control (Git), build/release pipelines, work item tracking, and project/team administration.", + "version": "latest", + "x-vendor-api-version": "7.1", + "x-itential-curated": "Trimmed to 55 of the upstream Azure DevOps Services REST API's several hundred operations across Git, Build, Pipelines, and Work Item Tracking areas alone. Covers Projects & Teams, Git Repositories/Pull Requests, Build Builds/Definitions, Pipelines, and Work Item Tracking CRUD. See the repo README for the full operation breakdown." + }, + "servers": [ + { + "url": "https://dev.azure.com/ORGANIZATION", + "description": "Itential Platform Integration Models require a static server URL rather than OpenAPI server variables, so the actual organization is set per-instance instead \u2014 see the Integration Configuration section in the README." + } + ], + "security": [ + { + "basicAuth": [] + } + ], + "components": { + "securitySchemes": { + "basicAuth": { + "type": "http", + "scheme": "basic", + "description": "HTTP Basic auth using a blank username and an Azure DevOps Personal Access Token (PAT) as the password." + } + }, + "schemas": { + "IdentityRef": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "uniqueName": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "TeamProjectReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Project identifier." + }, + "name": { + "type": "string", + "description": "Project name." + }, + "description": { + "type": "string", + "description": "The project's description (if any)." + }, + "url": { + "type": "string" + }, + "state": { + "type": "string", + "description": "Project state." + }, + "revision": { + "type": "integer", + "description": "Project revision." + }, + "visibility": { + "type": "string", + "description": "Project visibility." + }, + "lastUpdateTime": { + "type": "string", + "description": "Project last update time.", + "format": "date-time" + } + } + }, + "TeamProject": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Project identifier." + }, + "name": { + "type": "string", + "description": "Project name." + }, + "description": { + "type": "string", + "description": "The project's description (if any)." + }, + "url": { + "type": "string" + }, + "state": { + "type": "string", + "description": "Project state." + }, + "revision": { + "type": "integer", + "description": "Project revision." + }, + "visibility": { + "type": "string", + "description": "Project visibility." + }, + "lastUpdateTime": { + "type": "string", + "description": "Project last update time.", + "format": "date-time" + }, + "capabilities": { + "type": "object", + "description": "Set of capabilities this project has (version control, process template)." + }, + "defaultTeam": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + } + } + } + }, + "TeamProjectList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TeamProjectReference" + } + } + } + }, + "WebApiTeam": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Team (Identity) GUID." + }, + "name": { + "type": "string", + "description": "Team name." + }, + "url": { + "type": "string" + }, + "description": { + "type": "string", + "description": "Team description." + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "identityUrl": { + "type": "string" + } + } + }, + "WebApiTeamList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + }, + "OperationReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Operation ID." + }, + "status": { + "type": "string", + "description": "Operation status." + }, + "url": { + "type": "string" + }, + "pluginId": { + "type": "string" + } + } + }, + "GitRepository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "defaultBranch": { + "type": "string" + }, + "size": { + "type": "integer", + "description": "Compressed size (bytes) of the repository." + }, + "remoteUrl": { + "type": "string" + }, + "sshUrl": { + "type": "string" + }, + "webUrl": { + "type": "string" + }, + "isDisabled": { + "type": "boolean", + "description": "True if the repository is disabled." + }, + "isFork": { + "type": "boolean", + "description": "True if the repository was created as a fork." + } + } + }, + "GitRepositoryList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitRepository" + } + }, + "GitRef": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Fully-qualified ref name, e.g. refs/heads/main." + }, + "objectId": { + "type": "string", + "description": "SHA1 hash of the object the ref points to." + }, + "peeledObjectId": { + "type": "string" + }, + "isLocked": { + "type": "boolean" + }, + "isLockedBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "url": { + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/IdentityRef" + } + } + }, + "GitRefList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitRef" + } + } + } + }, + "GitCommitRef": { + "type": "object", + "properties": { + "commitId": { + "type": "string", + "description": "SHA1 of the commit." + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "date": { + "type": "string", + "format": "date-time" + } + } + }, + "committer": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "date": { + "type": "string", + "format": "date-time" + } + } + }, + "comment": { + "type": "string", + "description": "Comment or message of the commit." + }, + "commentTruncated": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "remoteUrl": { + "type": "string" + }, + "changeCounts": { + "type": "object", + "properties": { + "Add": { + "type": "integer" + }, + "Edit": { + "type": "integer" + }, + "Delete": { + "type": "integer" + } + } + } + } + }, + "GitCommitRefList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitCommitRef" + } + } + } + }, + "GitPush": { + "type": "object", + "properties": { + "pushId": { + "type": "integer" + }, + "date": { + "type": "string", + "format": "date-time" + }, + "pushedBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "url": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/GitRepository" + }, + "commits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitCommitRef" + } + }, + "refUpdates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Ref name being updated, e.g. refs/heads/main." + }, + "oldObjectId": { + "type": "string" + }, + "newObjectId": { + "type": "string" + } + } + } + } + } + }, + "GitPushList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPush" + } + } + } + }, + "GitPushRequest": { + "type": "object", + "properties": { + "refUpdates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Ref name being updated, e.g. refs/heads/main." + }, + "oldObjectId": { + "type": "string", + "description": "Current object ID the ref points to (all-zeros SHA for a new branch)." + }, + "newObjectId": { + "type": "string", + "description": "New object ID for the ref to point to." + } + } + } + }, + "commits": { + "type": "array", + "items": { + "type": "object", + "properties": { + "comment": { + "type": "string", + "description": "Commit message." + }, + "changes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "changeType": { + "type": "string", + "description": "add, edit, delete, rename." + }, + "item": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + } + }, + "newContent": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string", + "description": "rawtext or base64encoded." + } + } + } + } + } + } + } + } + } + }, + "required": [ + "refUpdates", + "commits" + ] + }, + "GitItem": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "Git object ID." + }, + "commitId": { + "type": "string", + "description": "SHA1 of commit item was fetched at." + }, + "gitObjectType": { + "type": "string" + }, + "path": { + "type": "string" + }, + "url": { + "type": "string" + }, + "content": { + "type": "string", + "description": "File content, present when the request includes includeContent." + } + } + }, + "IdentityRefWithVote": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "uniqueName": { + "type": "string" + }, + "url": { + "type": "string" + }, + "vote": { + "type": "integer", + "description": "Vote on a pull request: 10 approved, 5 approved with suggestions, 0 no vote, -5 waiting, -10 rejected." + }, + "isRequired": { + "type": "boolean" + } + } + }, + "GitPullRequest": { + "type": "object", + "properties": { + "pullRequestId": { + "type": "integer" + }, + "codeReviewId": { + "type": "integer" + }, + "status": { + "type": "string", + "description": "active, abandoned, completed, notSet." + }, + "createdBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "creationDate": { + "type": "string", + "format": "date-time" + }, + "closedDate": { + "type": "string", + "format": "date-time" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "sourceRefName": { + "type": "string" + }, + "targetRefName": { + "type": "string" + }, + "mergeStatus": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "mergeId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/GitRepository" + }, + "reviewers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + } + } + } + }, + "GitPullRequestList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPullRequest" + } + }, + "GitPullRequestCreate": { + "type": "object", + "properties": { + "sourceRefName": { + "type": "string", + "description": "Fully-qualified source branch ref, e.g. refs/heads/feature-1." + }, + "targetRefName": { + "type": "string", + "description": "Fully-qualified target branch ref, e.g. refs/heads/main." + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "reviewers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + } + }, + "workItemRefs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + } + } + }, + "required": [ + "sourceRefName", + "targetRefName", + "title" + ] + }, + "GitPullRequestUpdate": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "active, abandoned, or completed." + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetRefName": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "lastMergeSourceCommit": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + } + } + }, + "completionOptions": { + "type": "object", + "properties": { + "deleteSourceBranch": { + "type": "boolean" + }, + "mergeCommitMessage": { + "type": "string" + }, + "squashMerge": { + "type": "boolean" + }, + "bypassPolicy": { + "type": "boolean" + } + } + } + } + }, + "Comment": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "parentCommentId": { + "type": "integer" + }, + "content": { + "type": "string" + }, + "commentType": { + "type": "string", + "description": "text, codeChange, system." + }, + "author": { + "$ref": "#/components/schemas/IdentityRef" + }, + "publishedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "GitPullRequestCommentThread": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "string", + "description": "active, fixed, wontFix, closed, byDesign, pending." + }, + "comments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comment" + } + }, + "threadContext": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + }, + "rightFileStart": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + }, + "rightFileEnd": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + } + } + }, + "publishedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "GitPullRequestCommentThreadList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPullRequestCommentThread" + } + }, + "GitPullRequestCommentThreadCreate": { + "type": "object", + "properties": { + "comments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "commentType": { + "type": "string" + } + } + }, + "description": "Comments in the new thread." + }, + "status": { + "type": "string", + "description": "active, fixed, wontFix, closed, byDesign, pending." + }, + "threadContext": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + }, + "rightFileStart": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + }, + "rightFileEnd": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "comments" + ] + }, + "WebApiTagDefinition": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + }, + "DefinitionReference": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "path": { + "type": "string", + "description": "Folder path of the definition." + }, + "type": { + "type": "string", + "description": "build or xaml." + }, + "queueStatus": { + "type": "string", + "description": "enabled or paused or disabled." + }, + "revision": { + "type": "integer" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + } + } + }, + "BuildDefinitionList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DefinitionReference" + } + } + } + }, + "BuildRepository": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Repository ID, or full URL for external repos." + }, + "type": { + "type": "string", + "description": "TfsGit, GitHub, Bitbucket, etc." + }, + "name": { + "type": "string" + }, + "defaultBranch": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "BuildDefinition": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "path": { + "type": "string", + "description": "Folder path of the definition." + }, + "type": { + "type": "string", + "description": "build or xaml." + }, + "queueStatus": { + "type": "string", + "description": "enabled or paused or disabled." + }, + "revision": { + "type": "integer" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "repository": { + "$ref": "#/components/schemas/BuildRepository" + }, + "process": { + "type": "object", + "description": "Build process, e.g. YAML pipeline file path.", + "properties": { + "yamlFilename": { + "type": "string" + } + } + }, + "queue": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "variables": { + "type": "object", + "description": "Map of pipeline variable name to {value, allowOverride, isSecret}." + }, + "triggers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "triggerType": { + "type": "string" + } + } + } + } + } + }, + "Build": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "buildNumber": { + "type": "string" + }, + "status": { + "type": "string", + "description": "none, inProgress, completed, cancelling, postponed, notStarted, all." + }, + "result": { + "type": "string", + "description": "succeeded, partiallySucceeded, failed, canceled, none." + }, + "queueTime": { + "type": "string", + "format": "date-time" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "definition": { + "$ref": "#/components/schemas/DefinitionReference" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "sourceBranch": { + "type": "string" + }, + "sourceVersion": { + "type": "string", + "description": "Commit/changeset the build was built from." + }, + "reason": { + "type": "string", + "description": "manual, individualCI, batchedCI, schedule, pullRequest, etc." + }, + "requestedFor": { + "$ref": "#/components/schemas/IdentityRef" + }, + "repository": { + "$ref": "#/components/schemas/BuildRepository" + }, + "deleted": { + "type": "boolean" + }, + "priority": { + "type": "string" + } + } + }, + "BuildList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Build" + } + } + } + }, + "BuildRequest": { + "type": "object", + "properties": { + "definition": { + "type": "object", + "properties": { + "id": { + "type": "integer" + } + }, + "required": [ + "id" + ] + }, + "sourceBranch": { + "type": "string", + "description": "Branch to build, e.g. refs/heads/main." + }, + "parameters": { + "type": "string", + "description": "JSON-encoded string of pipeline variable overrides." + }, + "reason": { + "type": "string" + } + }, + "required": [ + "definition" + ] + }, + "Change": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Commit/changeset ID." + }, + "message": { + "type": "string" + }, + "type": { + "type": "string", + "description": "git commit, TFVC changeset, etc." + }, + "author": { + "$ref": "#/components/schemas/IdentityRef" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + } + }, + "ChangeList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Change" + } + } + } + }, + "BuildLogList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "lineCount": { + "type": "integer" + }, + "createdOn": { + "type": "string", + "format": "date-time" + } + } + } + } + } + }, + "TimelineRecord": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "parentId": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Stage, Phase, Job, Task, Checkpoint, etc." + }, + "name": { + "type": "string" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "state": { + "type": "string", + "description": "pending, inProgress, completed." + }, + "result": { + "type": "string", + "description": "succeeded, failed, canceled, skipped, abandoned." + }, + "percentComplete": { + "type": "integer" + }, + "log": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string" + } + } + } + } + }, + "Timeline": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "changeId": { + "type": "integer" + }, + "lastChangedOn": { + "type": "string", + "format": "date-time" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TimelineRecord" + } + } + } + }, + "Pipeline": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "revision": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "folder": { + "type": "string" + }, + "configuration": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "yaml or designerJson." + }, + "path": { + "type": "string", + "description": "Path to the YAML pipeline file." + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + } + }, + "PipelineList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + }, + "PipelineCreate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "folder": { + "type": "string" + }, + "configuration": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "yaml" + }, + "path": { + "type": "string", + "description": "Path to the YAML pipeline file, e.g. /azure-pipelines.yml." + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "description": "azureReposGit, gitHub, etc." + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "type", + "path", + "repository" + ] + } + }, + "required": [ + "name", + "configuration" + ] + }, + "Run": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "state": { + "type": "string", + "description": "unknown, inProgress, canceling, completed." + }, + "result": { + "type": "string", + "description": "unknown, succeeded, failed, canceled." + }, + "createdDate": { + "type": "string", + "format": "date-time" + }, + "finishedDate": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "pipeline": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "revision": { + "type": "integer" + } + } + } + } + }, + "RunList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Run" + } + } + } + }, + "RunPipelineParameters": { + "type": "object", + "properties": { + "resources": { + "type": "object", + "properties": { + "repositories": { + "type": "object", + "description": "Map of repository resource name to {refName, version}." + } + } + }, + "templateParameters": { + "type": "object", + "description": "Map of pipeline template parameter name to value." + }, + "variables": { + "type": "object", + "description": "Map of runtime variable name to {value, isSecret}." + }, + "stagesToSkip": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "WorkItem": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The work item ID." + }, + "rev": { + "type": "integer", + "description": "Revision number of the work item." + }, + "fields": { + "type": "object", + "description": "Map of field reference name to value, e.g. System.Title, System.State, System.WorkItemType." + }, + "url": { + "type": "string" + }, + "relations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "rel": { + "type": "string" + }, + "url": { + "type": "string" + }, + "attributes": { + "type": "object" + } + } + } + } + } + }, + "WorkItemList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + }, + "WorkItemDelete": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "deletedDate": { + "type": "string" + }, + "deletedBy": { + "type": "string" + }, + "project": { + "type": "string" + } + } + }, + "JsonPatchOperation": { + "type": "object", + "properties": { + "op": { + "type": "string", + "description": "add, remove, replace, move, copy, test." + }, + "path": { + "type": "string", + "description": "JSON Pointer path, e.g. /fields/System.Title." + }, + "value": {} + }, + "required": [ + "op", + "path" + ] + }, + "JsonPatchDocument": { + "type": "array", + "items": { + "$ref": "#/components/schemas/JsonPatchOperation" + } + }, + "Wiql": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Work Item Query Language (WIQL) SELECT statement." + } + }, + "required": [ + "query" + ] + }, + "WorkItemQueryResult": { + "type": "object", + "properties": { + "queryType": { + "type": "string" + }, + "queryResultType": { + "type": "string" + }, + "asOf": { + "type": "string", + "format": "date-time" + }, + "columns": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "workItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string" + } + } + } + } + } + }, + "CommentCreate": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "Comment text." + } + }, + "required": [ + "text" + ] + }, + "WorkItemComment": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "workItemId": { + "type": "integer" + }, + "version": { + "type": "integer" + }, + "text": { + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "createdDate": { + "type": "string", + "format": "date-time" + } + } + }, + "WorkItemCommentList": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "comments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WorkItemComment" + } + } + } + }, + "Error": { + "type": "object", + "properties": { + "$id": { + "type": "string" + }, + "innerException": {}, + "message": { + "type": "string" + }, + "typeName": { + "type": "string" + }, + "typeKey": { + "type": "string" + }, + "errorCode": { + "type": "integer" + }, + "eventId": { + "type": "integer" + } + } + } + } + }, + "paths": { + "/_apis/projects": { + "get": { + "summary": "List Projects", + "description": "Get a list of projects visible to the caller's organization.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "stateFilter", + "in": "query", + "required": false, + "description": "Filter on team project state (wellFormed, deleting, new, all).", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of projects to return.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "Number of projects to skip.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProjectList" + } + } + } + } + } + }, + "post": { + "summary": "Create Project", + "description": "Queue creation of a new team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Create", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationReference" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProject" + } + } + }, + "description": "Project to create (name, description, capabilities)." + } + } + }, + "/_apis/projects/{projectId}": { + "get": { + "summary": "Get Project", + "description": "Get a team project by ID or name.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Get", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "includeCapabilities", + "in": "query", + "required": false, + "description": "Include capabilities (such as source control) in the team project result.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProject" + } + } + } + } + } + }, + "delete": { + "summary": "Delete Project", + "description": "Queue deletion of a team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Delete", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationReference" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}/teams": { + "get": { + "summary": "List Teams", + "description": "Get a list of teams for a project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_List", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeamList" + } + } + } + } + } + }, + "post": { + "summary": "Create Team", + "description": "Create a team in a team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Create", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + }, + "description": "Team to create (name, description)." + } + } + }, + "/_apis/projects/{projectId}/teams/{teamId}": { + "get": { + "summary": "Get Team", + "description": "Get a specific team.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Get", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + } + }, + "patch": { + "summary": "Update Team", + "description": "Update a team's name and/or description.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Update", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + }, + "description": "Fields to update." + } + }, + "delete": { + "summary": "Delete Team", + "description": "Delete a team.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Delete", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/{project}/_apis/git/repositories": { + "get": { + "summary": "List Repositories", + "description": "Get a list of Git repositories in a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListRepositories", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "True to include reference links.", + "schema": { + "type": "boolean" + } + }, + { + "name": "includeHidden", + "in": "query", + "required": false, + "description": "True to include hidden repositories.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepositoryList" + } + } + } + } + } + }, + "post": { + "summary": "Create Repository", + "description": "Create a Git repository in a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_CreateRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + }, + "description": "Repository name and optional parent for a fork." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}": { + "get": { + "summary": "Get Repository", + "description": "Retrieve a Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_GetRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + } + }, + "patch": { + "summary": "Update Repository", + "description": "Update a Git repository's name or default branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_UpdateRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + }, + "description": "Fields to update (name, defaultBranch, isDisabled)." + } + }, + "delete": { + "summary": "Delete Repository", + "description": "Delete a Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_DeleteRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/refs": { + "get": { + "summary": "List Refs", + "description": "Queries the provided repository for its refs (branches and tags) and returns them.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListRefs", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "description": "A filter to apply to the refs, e.g. heads/ or tags/.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRefList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commits": { + "get": { + "summary": "List Commits", + "description": "Retrieve git commits for a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListCommits", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "searchCriteria.itemVersion.version", + "in": "query", + "required": false, + "description": "Branch/tag/commit to filter on.", + "schema": { + "type": "string" + } + }, + { + "name": "searchCriteria.top", + "in": "query", + "required": false, + "description": "Maximum number of commits to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitCommitRefList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/items": { + "get": { + "summary": "Get Item", + "description": "Get an item (file or folder) from a repository, optionally including its content.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_GetItem", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "query", + "required": true, + "description": "Path to the item, e.g. /README.md.", + "schema": { + "type": "string" + } + }, + { + "name": "versionDescriptor.version", + "in": "query", + "required": false, + "description": "Branch, tag, or commit to read from.", + "schema": { + "type": "string" + } + }, + { + "name": "includeContent", + "in": "query", + "required": false, + "description": "True to include item content.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitItem" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pushes": { + "get": { + "summary": "List Pushes", + "description": "Retrieves a list of pushes made to a repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListPushes", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pushes to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPushList" + } + } + } + } + } + }, + "post": { + "summary": "Create Push", + "description": "Push changes (new commits, ref updates) to a repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_CreatePush", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPush" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPushRequest" + } + } + }, + "description": "Ref updates and commits to push." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests": { + "get": { + "summary": "List Pull Requests", + "description": "Retrieve all pull requests matching a specified criteria.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequests", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "searchCriteria.status", + "in": "query", + "required": false, + "description": "active, abandoned, completed, or all.", + "schema": { + "type": "string" + } + }, + { + "name": "searchCriteria.creatorId", + "in": "query", + "required": false, + "description": "Filter by creator identity.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pull requests to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestList" + } + } + } + } + } + }, + "post": { + "summary": "Create Pull Request", + "description": "Create a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_CreatePullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCreate" + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}": { + "get": { + "summary": "Get Pull Request", + "description": "Retrieve a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_GetPullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + } + }, + "patch": { + "summary": "Update Pull Request", + "description": "Update a pull request (complete, abandon, retarget, edit title/description).", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_UpdatePullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request to update.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestUpdate" + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/reviewers": { + "get": { + "summary": "List Pull Request Reviewers", + "description": "Retrieve the reviewers for a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequestReviewers", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/reviewers/{reviewerId}": { + "put": { + "summary": "Add Pull Request Reviewer", + "description": "Add a reviewer to a pull request, or vote on it, by identity ID.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_AddPullRequestReviewer", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "reviewerId", + "in": "path", + "required": true, + "description": "ID of the reviewer.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + } + } + }, + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + }, + "description": "Vote to cast (isRequired flag or vote value)." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/labels": { + "post": { + "summary": "Add Pull Request Label", + "description": "Add a label to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_AddPullRequestLabel", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTagDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTagDefinition" + } + } + }, + "description": "Label name to add." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads": { + "get": { + "summary": "List Pull Request Threads", + "description": "Retrieve all comment threads (code review comments) on a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequestThreads", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThreadList" + } + } + } + } + } + }, + "post": { + "summary": "Create Pull Request Thread", + "description": "Create a comment thread on a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_CreatePullRequestThread", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThread" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThreadCreate" + } + } + } + } + } + }, + "/{project}/_apis/build/builds": { + "get": { + "summary": "List Builds", + "description": "Get a list of builds.", + "tags": [ + "Build" + ], + "operationId": "Build_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitions", + "in": "query", + "required": false, + "description": "Comma-separated list of definition IDs to filter on.", + "schema": { + "type": "string" + } + }, + { + "name": "statusFilter", + "in": "query", + "required": false, + "description": "inProgress, completed, cancelling, postponed, notStarted, all.", + "schema": { + "type": "string" + } + }, + { + "name": "resultFilter", + "in": "query", + "required": false, + "description": "succeeded, partiallySucceeded, failed, canceled.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of builds to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildList" + } + } + } + } + } + }, + "post": { + "summary": "Queue Build", + "description": "Queue a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Queue", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildRequest" + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}": { + "get": { + "summary": "Get Build", + "description": "Get a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + } + }, + "patch": { + "summary": "Update Build", + "description": "Update a build (e.g. cancel it by setting status to cancelling).", + "tags": [ + "Build" + ], + "operationId": "Build_Update", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + }, + "description": "Fields to update, e.g. {\"status\": \"cancelling\"}." + } + }, + "delete": { + "summary": "Delete Build", + "description": "Delete a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Delete", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/changes": { + "get": { + "summary": "Get Build Changes", + "description": "Get the changes (commits) associated with a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetChanges", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of changes to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChangeList" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/logs": { + "get": { + "summary": "Get Build Logs", + "description": "Get the logs for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetLogs", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildLogList" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/timeline": { + "get": { + "summary": "Get Build Timeline", + "description": "Get the timeline (stages/phases/jobs/tasks and their status) for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetTimeline", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Timeline" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions": { + "get": { + "summary": "List Build Definitions", + "description": "Get a list of build definitions.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "Filter by definition name.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinitionList" + } + } + } + } + } + }, + "post": { + "summary": "Create Build Definition", + "description": "Create a build (pipeline) definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}": { + "get": { + "summary": "Get Build Definition", + "description": "Get a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "revision", + "in": "query", + "required": false, + "description": "Specific revision to retrieve.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + } + }, + "put": { + "summary": "Update Build Definition", + "description": "Update a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Update", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "delete": { + "summary": "Delete Build Definition", + "description": "Delete a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Delete", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/{project}/_apis/pipelines": { + "get": { + "summary": "List Pipelines", + "description": "Get a list of pipelines.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pipelines to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PipelineList" + } + } + } + } + } + }, + "post": { + "summary": "Create Pipeline", + "description": "Create a YAML pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PipelineCreate" + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}": { + "get": { + "summary": "Get Pipeline", + "description": "Get a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pipelineVersion", + "in": "query", + "required": false, + "description": "Pipeline definition revision to retrieve.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs": { + "get": { + "summary": "List Pipeline Runs", + "description": "Get a list of runs for a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_ListRuns", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunList" + } + } + } + } + } + }, + "post": { + "summary": "Run Pipeline", + "description": "Run a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_RunPipeline", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Run" + } + } + } + } + }, + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunPipelineParameters" + } + } + }, + "description": "Runtime parameters, variables, and resources for the run." + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs/{runId}": { + "get": { + "summary": "Get Pipeline Run", + "description": "Get a specific run for a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_GetRun", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "runId", + "in": "path", + "required": true, + "description": "ID of the run.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Run" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/${type}": { + "post": { + "summary": "Create Work Item", + "description": "Create a single work item of the given type.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "The work item type of the work item to create, e.g. Bug, Task, User Story.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "bypassRules", + "in": "query", + "required": false, + "description": "Do not enforce the work item type rules on this create.", + "schema": { + "type": "boolean" + } + }, + { + "name": "suppressNotifications", + "in": "query", + "required": false, + "description": "Do not fire any notifications for this change.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocument" + } + } + }, + "description": "JSON Patch document describing the fields to set, e.g. [{\"op\": \"add\", \"path\": \"/fields/System.Title\", \"value\": \"...\"}]. Content-Type must be application/json-patch+json." + } + } + }, + "/_apis/wit/workitems/{id}": { + "get": { + "summary": "Get Work Item", + "description": "Get a single work item by ID.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Get", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The work item ID.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "Comma-separated list of requested fields.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "None, Relations, Fields, Links, or All.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + } + }, + "patch": { + "summary": "Update Work Item", + "description": "Update a single work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the work item to update.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "bypassRules", + "in": "query", + "required": false, + "description": "Do not enforce the work item type rules on this update.", + "schema": { + "type": "boolean" + } + }, + { + "name": "suppressNotifications", + "in": "query", + "required": false, + "description": "Do not fire any notifications for this change.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocument" + } + } + }, + "description": "JSON Patch document describing the fields to update. Content-Type must be application/json-patch+json." + } + }, + "delete": { + "summary": "Delete Work Item", + "description": "Delete a work item (sends it to the Recycle Bin unless destroy is set).", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item to delete.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "destroy", + "in": "query", + "required": false, + "description": "Permanently destroy the work item instead of moving it to the Recycle Bin.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemDelete" + } + } + } + } + } + } + }, + "/_apis/wit/workitems": { + "get": { + "summary": "List Work Items", + "description": "Returns a list of work items by ID (maximum 200).", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "ids", + "in": "query", + "required": true, + "description": "Comma-separated list of requested work item IDs (maximum 200).", + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "Comma-separated list of requested fields.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemList" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/wiql": { + "post": { + "summary": "Query By WIQL", + "description": "Get a list of work items matching a Work Item Query Language (WIQL) query.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_QueryByWiql", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of results to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemQueryResult" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiql" + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments": { + "get": { + "summary": "List Work Item Comments", + "description": "Get comments for a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_ListComments", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of comments to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemCommentList" + } + } + } + } + } + }, + "post": { + "summary": "Add Work Item Comment", + "description": "Add a comment to a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_AddComment", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemComment" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CommentCreate" + } + } + } + } + } + } + } +} diff --git a/Microsoft/Azure DevOps/README.md b/Microsoft/Azure DevOps/README.md new file mode 100644 index 0000000..3ed80c5 --- /dev/null +++ b/Microsoft/Azure DevOps/README.md @@ -0,0 +1,99 @@ +# Azure DevOps + +Azure DevOps Services is Microsoft's cloud-hosted platform for the software development lifecycle: Git source control, build and release pipelines, work item tracking, and project/team administration, all exposed through the Azure DevOps Services REST API. + +## Table of Contents + +- [Contents](#contents) +- [Requirements](#requirements) +- [Integration Configuration](#integration-configuration) +- [OpenAPIs](#openapis) + - [`azure_devops-latest.json`](#azure_devops-latestjson) +- [Studio Projects](#studio-projects) + - [Azure DevOps Project](#azure-devops-project) + - [Folder Structure](#folder-structure) + +## Contents + +| Asset | Description | +|---|---| +| [OpenAPIs/](./OpenAPIs/) | Azure DevOps Services REST API OpenAPI spec, curated for automation | +| [Studio Projects/](./Studio%20Projects/) | Itential Platform project containing 55 workflows in 7 folders | + +## Requirements + +| Requirement | Version | +|---|---| +| Itential Platform | P6+ | +| Azure DevOps Services | Cloud SaaS (dev.azure.com) — no on-premises Azure DevOps Server support | +| Personal Access Token (PAT) | Scoped to the resource areas the workflows will call (Code, Build, Work Items, Project and Team) | + +## Integration Configuration + +Import `azure_devops-latest.json` as an Integration Model in **Admin > Integrations**, then create an integration pointing at your organization. + +Authentication is HTTP Basic, using a blank username and a Personal Access Token as the password: + +``` +Authorization: Basic +``` + +The instance's `authentication`/`server` properties should look like this once configured: + +```json +{ + "authentication": { + "basicAuth": { + "username": "", + "password": "" + } + }, + "server": { + "protocol": "https", + "host": "dev.azure.com", + "base_path": "/" + } +} +``` + +Every operation in the spec requires an `api-version` query parameter; it defaults to `7.1`, the current stable Azure DevOps REST API version. + +## OpenAPIs + +| Spec | Version | Operations | Description | +|---|---|---|---| +| [`azure_devops-latest.json`](./OpenAPIs/azure_devops-latest.json) | latest (curated) | 55 | Curated across Projects & Teams, Git, Build, Pipelines, and Work Item Tracking — see breakdown below | + +### `azure_devops-latest.json` + +Microsoft does not publish a static OpenAPI/Swagger document for Azure DevOps Services, and there is no live introspection endpoint to generate one from (it's a multi-tenant SaaS). This spec is derived directly from [`microsoft/azure-devops-node-api`](https://github.com/microsoft/azure-devops-node-api) (v17.0.1), Microsoft's own officially-maintained TypeScript client library — its interface files and API client classes define the exact request/response shapes, REST paths, HTTP methods, and API version for every operation. + +Curated to 55 of the several hundred operations across the SDK's Git, Build, Pipelines, and Work Item Tracking API areas alone (the full SDK surface also covers Release, Test Plans, Wiki, Service Endpoints, Task Agent pools, Security Roles, and more, none of which are included here). + +Resources included, by category: + +- **Projects & Teams**: list/create/get/delete projects, list/create/get/update/delete teams +- **Git Repositories**: list/create/get/update/delete repositories, list refs, list commits, get item content, list/create pushes +- **Git Pull Requests**: list/create/get/update pull requests, list/add reviewers, add labels, list/create comment threads +- **Build**: list/queue/get/update/delete builds, get build changes/logs/timeline +- **Build Definitions**: list/create/get/update/delete build (pipeline) definitions +- **Pipelines**: list/create/get pipelines, list/run pipeline runs, get a run +- **Work Item Tracking**: create/get/update/delete work items, list work items by ID, query by WIQL, list/add comments + +## Studio Projects + +### Azure DevOps Project + +Backed by the **`Azure DevOps:latest`** Integration Model (see [`azure_devops-latest.json`](./OpenAPIs/azure_devops-latest.json) above). The project contains **55 workflows** organized into **7 folders**, one workflow per API operation. + +#### Folder Structure + +| Folder | Workflows | Scope | +|---|---|---| +| Projects & Teams | 9 | List/create/get/delete projects; list/create/get/update/delete teams | +| Git Repositories | 10 | Repository CRUD, refs, commits, item content, pushes | +| Git Pull Requests | 9 | Pull request CRUD, reviewers, labels, comment threads | +| Build | 8 | Build CRUD, changes, logs, timeline | +| Build Definitions | 5 | Build (pipeline) definition CRUD | +| Pipelines | 6 | Pipeline CRUD, runs | +| Work Item Tracking | 8 | Work item CRUD, WIQL query, comments | diff --git a/Microsoft/Azure DevOps/Studio Projects/Azure DevOps.project.json b/Microsoft/Azure DevOps/Studio Projects/Azure DevOps.project.json new file mode 100644 index 0000000..d623641 --- /dev/null +++ b/Microsoft/Azure DevOps/Studio Projects/Azure DevOps.project.json @@ -0,0 +1,7830 @@ +{ + "_id": "846a32c3bb81e3c29b621792", + "name": "Azure DevOps", + "description": "Azure DevOps automation: Projects & Teams, Git repositories & pull requests, Build builds & definitions, Pipelines, Work Item Tracking", + "components": [ + { + "iid": 0, + "reference": "feea0af3-21bc-4ddf-9e66-53da57203b8d", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "List Projects", + "description": "List Projects", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Projects_List", + "canvasName": "Projects_List", + "summary": "List Projects", + "description": "List Projects", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "api-version": "7.1", + "stateFilter": "$var.job.stateFilter", + "$top": "$var.job.top", + "$skip": "$var.job.skip" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "stateFilter": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "skip": { + "type": "integer" + } + }, + "required": [] + }, + "outputSchema": { + "type": "object", + "properties": { + "stateFilter": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "skip": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "76b71980-5a48-4f9e-acfc-7a8b7a5617ce", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 1, + "reference": "84f30fce-03f0-4679-a134-2e7eb7a85935", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Create Project", + "description": "Create Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Projects_Create", + "canvasName": "Projects_Create", + "summary": "Create Project", + "description": "Create Project", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "requestBody": { + "type": "string" + } + }, + "required": [ + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "5b37614a-d08a-4bc1-b5d2-77817e6adfbb", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 2, + "reference": "98036729-34bd-43d1-8fd3-e95a6f15b25b", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Get Project", + "description": "Get Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Projects_Get", + "canvasName": "Projects_Get", + "summary": "Get Project", + "description": "Get Project", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "api-version": "7.1", + "includeCapabilities": "$var.job.includeCapabilities" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "includeCapabilities": { + "type": "boolean" + } + }, + "required": [ + "projectId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "includeCapabilities": { + "type": "boolean" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "2441c5b4-5de7-477e-833a-2513acc817a0", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 3, + "reference": "7918c004-9004-44bd-b8cf-f5ddd4e055a3", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Delete Project", + "description": "Delete Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Projects_Delete", + "canvasName": "Projects_Delete", + "summary": "Delete Project", + "description": "Delete Project", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + } + }, + "required": [ + "projectId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "17649bea-4dba-4d5e-8b9b-2a1f85c75a34", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 4, + "reference": "5932f419-e81a-477e-b358-2239a1fc0df5", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "List Teams", + "description": "List Teams", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Teams_List", + "canvasName": "Teams_List", + "summary": "List Teams", + "description": "List Teams", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + } + }, + "required": [ + "projectId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "d1de7a9f-7287-489d-94d7-2d0f8a470212", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 5, + "reference": "88672d5f-70e6-49ad-8eee-271b6b9624f9", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Create Team", + "description": "Create Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Teams_Create", + "canvasName": "Teams_Create", + "summary": "Create Team", + "description": "Create Team", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "projectId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "77eb25a6-cb73-4902-97f2-515b46e27de3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 6, + "reference": "aa526adc-a14b-4394-8a21-f6475916a2e1", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Get Team", + "description": "Get Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Teams_Get", + "canvasName": "Teams_Get", + "summary": "Get Team", + "description": "Get Team", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "teamId": "$var.job.teamId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + } + }, + "required": [ + "projectId", + "teamId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "56661868-1973-4ac1-a692-0beb15469bc2", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 7, + "reference": "645a5b71-b1f0-4804-b2de-68cc10daa014", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Update Team", + "description": "Update Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Teams_Update", + "canvasName": "Teams_Update", + "summary": "Update Team", + "description": "Update Team", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "teamId": "$var.job.teamId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "projectId", + "teamId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "dc7af5a3-909a-489d-8e07-9ab8f5576506", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 8, + "reference": "7fa51ce9-aae5-4d76-91ef-80b8ba314530", + "type": "workflow", + "folder": "/Projects & Teams", + "document": { + "name": "Delete Team", + "description": "Delete Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Teams_Delete", + "canvasName": "Teams_Delete", + "summary": "Delete Team", + "description": "Delete Team", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "projectId": "$var.job.projectId", + "teamId": "$var.job.teamId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + } + }, + "required": [ + "projectId", + "teamId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "projectId": { + "type": "string" + }, + "teamId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "cdc57a0b-eea8-4032-a8b2-7c8457eccb3f", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 9, + "reference": "5035cc71-9127-4bad-8126-be79aeb62363", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "List Repositories", + "description": "List Repositories", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListRepositories", + "canvasName": "Git_ListRepositories", + "summary": "List Repositories", + "description": "List Repositories", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "includeLinks": "$var.job.includeLinks", + "includeHidden": "$var.job.includeHidden" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "includeLinks": { + "type": "boolean" + }, + "includeHidden": { + "type": "boolean" + } + }, + "required": [ + "project" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "includeLinks": { + "type": "boolean" + }, + "includeHidden": { + "type": "boolean" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "b8a9042f-ff53-4837-a18d-957fcd851f31", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 10, + "reference": "c68b0cb7-52d4-4e6f-99e8-c63e5ca47cb6", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Create Repository", + "description": "Create Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_CreateRepository", + "canvasName": "Git_CreateRepository", + "summary": "Create Repository", + "description": "Create Repository", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "07413560-db77-49b2-a6df-8e4264df85ba", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 11, + "reference": "7811342b-dd85-42ae-92f6-d5f184f81e9f", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Get Repository", + "description": "Get Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_GetRepository", + "canvasName": "Git_GetRepository", + "summary": "Get Repository", + "description": "Get Repository", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "3c3be362-0fd5-407c-9de1-05fed2045b52", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 12, + "reference": "01d0969b-f358-410c-b5c4-b7c748be635a", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Update Repository", + "description": "Update Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_UpdateRepository", + "canvasName": "Git_UpdateRepository", + "summary": "Update Repository", + "description": "Update Repository", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "7166dd2e-351d-4c01-b762-b6594c4ece1e", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 13, + "reference": "7fde732a-5da8-493d-b879-2ea6a16b2de7", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Delete Repository", + "description": "Delete Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_DeleteRepository", + "canvasName": "Git_DeleteRepository", + "summary": "Delete Repository", + "description": "Delete Repository", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "719cfc48-6e1d-4fb3-9796-1d823345f00e", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 14, + "reference": "7c26b99c-1561-4c30-9d74-b14131be4cca", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "List Refs", + "description": "List Refs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListRefs", + "canvasName": "Git_ListRefs", + "summary": "List Refs", + "description": "List Refs", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "filter": "$var.job.filter" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "filter": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "filter": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "3ae14094-d84f-44cb-97d4-3797455ffda3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 15, + "reference": "5e79c647-04a5-47bb-a3b8-1a8e2dbb4ab5", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "List Commits", + "description": "List Commits", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListCommits", + "canvasName": "Git_ListCommits", + "summary": "List Commits", + "description": "List Commits", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "searchCriteria.itemVersion.version": "$var.job.searchCriteria.itemVersion.version", + "searchCriteria.top": "$var.job.searchCriteria.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "searchCriteria.itemVersion.version": { + "type": "string" + }, + "searchCriteria.top": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "searchCriteria.itemVersion.version": { + "type": "string" + }, + "searchCriteria.top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "74beea01-b260-4fce-b794-7c5c1458db39", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 16, + "reference": "58ac85bf-f924-4511-b894-8a508589cd08", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Get Item", + "description": "Get Item", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_GetItem", + "canvasName": "Git_GetItem", + "summary": "Get Item", + "description": "Get Item", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "path": "$var.job.path", + "versionDescriptor.version": "$var.job.versionDescriptor.version", + "includeContent": "$var.job.includeContent" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "path": { + "type": "string" + }, + "versionDescriptor.version": { + "type": "string" + }, + "includeContent": { + "type": "boolean" + } + }, + "required": [ + "project", + "repositoryId", + "path" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "path": { + "type": "string" + }, + "versionDescriptor.version": { + "type": "string" + }, + "includeContent": { + "type": "boolean" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "ffd03827-c2ca-4a00-82f7-bc6e7d1ce13c", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 17, + "reference": "f581d9bf-08f0-47f8-954a-77dd0221714f", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "List Pushes", + "description": "List Pushes", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListPushes", + "canvasName": "Git_ListPushes", + "summary": "List Pushes", + "description": "List Pushes", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "e158ef17-59e5-40e3-be00-9cacf13f9b58", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 18, + "reference": "a77ba4f3-ebab-42e2-aa0d-1b9f23515c51", + "type": "workflow", + "folder": "/Git Repositories", + "document": { + "name": "Create Push", + "description": "Create Push", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_CreatePush", + "canvasName": "Git_CreatePush", + "summary": "Create Push", + "description": "Create Push", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "e1293d17-9d8a-433e-a317-a32743ac83d5", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 19, + "reference": "39ccc870-abce-44ef-9560-a7bd1512225b", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "List Pull Requests", + "description": "List Pull Requests", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListPullRequests", + "canvasName": "Git_ListPullRequests", + "summary": "List Pull Requests", + "description": "List Pull Requests", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "searchCriteria.status": "$var.job.searchCriteria.status", + "searchCriteria.creatorId": "$var.job.searchCriteria.creatorId", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "searchCriteria.status": { + "type": "string" + }, + "searchCriteria.creatorId": { + "type": "string" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "searchCriteria.status": { + "type": "string" + }, + "searchCriteria.creatorId": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "bcd2af73-f1c7-4c0e-a245-6ff77897bcd2", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 20, + "reference": "bc0ad67a-f5f0-4af1-94cf-584d0585a593", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Create Pull Request", + "description": "Create Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_CreatePullRequest", + "canvasName": "Git_CreatePullRequest", + "summary": "Create Pull Request", + "description": "Create Pull Request", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "3ea91aac-9aa0-4f83-b61c-ef937b368253", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 21, + "reference": "bc1a478c-1033-4af8-ae4e-e4a6c43643d2", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Get Pull Request", + "description": "Get Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_GetPullRequest", + "canvasName": "Git_GetPullRequest", + "summary": "Get Pull Request", + "description": "Get Pull Request", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "82476215-dd95-4209-90da-467658cf3b21", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 22, + "reference": "f8656591-cdda-4a50-8b74-df49256b306e", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Update Pull Request", + "description": "Update Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_UpdatePullRequest", + "canvasName": "Git_UpdatePullRequest", + "summary": "Update Pull Request", + "description": "Update Pull Request", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "961aaf11-4841-4f0c-b22a-966a03787be8", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 23, + "reference": "1cc0113d-f5f2-42e6-8690-7ea816507118", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "List Pull Request Reviewers", + "description": "List Pull Request Reviewers", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListPullRequestReviewers", + "canvasName": "Git_ListPullRequestReviewers", + "summary": "List Pull Request Reviewers", + "description": "List Pull Request Reviewers", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "a43be8c3-87a4-412f-9070-b6ed567b6372", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 24, + "reference": "b0f02de3-7508-4638-b921-665d40d7ca26", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Add Pull Request Reviewer", + "description": "Add Pull Request Reviewer", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_AddPullRequestReviewer", + "canvasName": "Git_AddPullRequestReviewer", + "summary": "Add Pull Request Reviewer", + "description": "Add Pull Request Reviewer", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "reviewerId": "$var.job.reviewerId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "reviewerId": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId", + "reviewerId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "reviewerId": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "266f1d89-9c40-4af3-8dc4-7a65e21910bc", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 25, + "reference": "04c481e4-3558-4549-a967-c28645692ab5", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Add Pull Request Label", + "description": "Add Pull Request Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_AddPullRequestLabel", + "canvasName": "Git_AddPullRequestLabel", + "summary": "Add Pull Request Label", + "description": "Add Pull Request Label", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "ec17deca-aad3-4689-b19f-01ba7439ecd0", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 26, + "reference": "cecaeebd-81d5-4be6-8d08-75e29be0f150", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "List Pull Request Threads", + "description": "List Pull Request Threads", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_ListPullRequestThreads", + "canvasName": "Git_ListPullRequestThreads", + "summary": "List Pull Request Threads", + "description": "List Pull Request Threads", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "04d50675-e6c2-4d22-a1a8-99ce6f7b6c33", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 27, + "reference": "93e49051-5c7e-4575-8686-5c9ab71fb34a", + "type": "workflow", + "folder": "/Git Pull Requests", + "document": { + "name": "Create Pull Request Thread", + "description": "Create Pull Request Thread", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Git_CreatePullRequestThread", + "canvasName": "Git_CreatePullRequestThread", + "summary": "Create Pull Request Thread", + "description": "Create Pull Request Thread", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "repositoryId": "$var.job.repositoryId", + "pullRequestId": "$var.job.pullRequestId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "repositoryId", + "pullRequestId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "repositoryId": { + "type": "string" + }, + "pullRequestId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "3500177f-dd43-4023-b2fb-da0ebeaa65a7", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 28, + "reference": "b8efa7d9-f180-4221-8093-d74ab1de2e8a", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "List Builds", + "description": "List Builds", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_List", + "canvasName": "Build_List", + "summary": "List Builds", + "description": "List Builds", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "definitions": "$var.job.definitions", + "statusFilter": "$var.job.statusFilter", + "resultFilter": "$var.job.resultFilter", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitions": { + "type": "string" + }, + "statusFilter": { + "type": "string" + }, + "resultFilter": { + "type": "string" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitions": { + "type": "string" + }, + "statusFilter": { + "type": "string" + }, + "resultFilter": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "386f392d-0121-4b32-9669-bf3ef68f05da", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 29, + "reference": "67f097cd-6c51-40bf-84e4-763531b7e22b", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Queue Build", + "description": "Queue Build", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_Queue", + "canvasName": "Build_Queue", + "summary": "Queue Build", + "description": "Queue Build", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "a743b87f-bec1-4b95-b0c5-c029c51941e8", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 30, + "reference": "8bc4a0c6-c138-4e74-8546-2ca44ddb5969", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Get Build", + "description": "Get Build", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_Get", + "canvasName": "Build_Get", + "summary": "Get Build", + "description": "Get Build", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + } + }, + "required": [ + "project", + "buildId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "783e9d18-eb66-41a6-bf1f-91bc6976b0f4", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 31, + "reference": "4d4fa217-59e9-402f-8ba3-b84b22c6e101", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Update Build", + "description": "Update Build", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_Update", + "canvasName": "Build_Update", + "summary": "Update Build", + "description": "Update Build", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "buildId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "ec276109-c905-4ae3-aa6c-891135b95b29", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 32, + "reference": "e8793aa7-4e09-4d2e-9026-384f86343b5f", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Delete Build", + "description": "Delete Build", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_Delete", + "canvasName": "Build_Delete", + "summary": "Delete Build", + "description": "Delete Build", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + } + }, + "required": [ + "project", + "buildId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "b51201af-bd9c-4e87-808d-d428c3a50d1f", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 33, + "reference": "c0b57ea7-eabb-488e-94e2-83c5c02b8b1d", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Get Build Changes", + "description": "Get Build Changes", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_GetChanges", + "canvasName": "Build_GetChanges", + "summary": "Get Build Changes", + "description": "Get Build Changes", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project", + "buildId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "2702c31a-5f02-4a10-aeb0-45ee04d8ff1b", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 34, + "reference": "0b5f7e12-8542-4896-9108-90d888330a4e", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Get Build Logs", + "description": "Get Build Logs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_GetLogs", + "canvasName": "Build_GetLogs", + "summary": "Get Build Logs", + "description": "Get Build Logs", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + } + }, + "required": [ + "project", + "buildId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "d38528d8-c9db-4431-81c8-d7a20496c593", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 35, + "reference": "922262fa-f716-4283-bac2-fa2d05c9f57c", + "type": "workflow", + "folder": "/Build", + "document": { + "name": "Get Build Timeline", + "description": "Get Build Timeline", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Build_GetTimeline", + "canvasName": "Build_GetTimeline", + "summary": "Get Build Timeline", + "description": "Get Build Timeline", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "buildId": "$var.job.buildId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + } + }, + "required": [ + "project", + "buildId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "buildId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "32242c2c-ea02-401e-ba3a-126dfa7599b6", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 36, + "reference": "f1349414-e1dc-480f-8f41-130abdace27c", + "type": "workflow", + "folder": "/Build Definitions", + "document": { + "name": "List Build Definitions", + "description": "List Build Definitions", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "BuildDefinitions_List", + "canvasName": "BuildDefinitions_List", + "summary": "List Build Definitions", + "description": "List Build Definitions", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "name": "$var.job.name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "project" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "084b8b47-e881-457d-94a2-c8b6ef0e8c5e", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 37, + "reference": "15796e3f-1413-41b3-93c8-cd509171929d", + "type": "workflow", + "folder": "/Build Definitions", + "document": { + "name": "Create Build Definition", + "description": "Create Build Definition", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "BuildDefinitions_Create", + "canvasName": "BuildDefinitions_Create", + "summary": "Create Build Definition", + "description": "Create Build Definition", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "ca0856d6-0d2c-49bf-a7f4-178608f67ad3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 38, + "reference": "f7e46a70-62e7-4f92-b362-f621ef2a17a7", + "type": "workflow", + "folder": "/Build Definitions", + "document": { + "name": "Get Build Definition", + "description": "Get Build Definition", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "BuildDefinitions_Get", + "canvasName": "BuildDefinitions_Get", + "summary": "Get Build Definition", + "description": "Get Build Definition", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "definitionId": "$var.job.definitionId", + "api-version": "7.1", + "revision": "$var.job.revision" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + }, + "revision": { + "type": "integer" + } + }, + "required": [ + "project", + "definitionId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + }, + "revision": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "70094ddd-c790-4864-a078-4a46240f69cd", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 39, + "reference": "98702392-d7a7-4ba7-9ae4-21af3fd5a427", + "type": "workflow", + "folder": "/Build Definitions", + "document": { + "name": "Update Build Definition", + "description": "Update Build Definition", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "BuildDefinitions_Update", + "canvasName": "BuildDefinitions_Update", + "summary": "Update Build Definition", + "description": "Update Build Definition", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "definitionId": "$var.job.definitionId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "definitionId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "33d5859d-ef73-4a6f-9b79-1886a4a2bb0c", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 40, + "reference": "935e4837-94a8-483f-8587-0f0baa76c4c3", + "type": "workflow", + "folder": "/Build Definitions", + "document": { + "name": "Delete Build Definition", + "description": "Delete Build Definition", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "BuildDefinitions_Delete", + "canvasName": "BuildDefinitions_Delete", + "summary": "Delete Build Definition", + "description": "Delete Build Definition", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "definitionId": "$var.job.definitionId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + } + }, + "required": [ + "project", + "definitionId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "definitionId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "8670ba63-5899-44e7-8431-3d7c12630e59", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 41, + "reference": "7062af7d-1da4-4485-8174-1751e678e818", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "List Pipelines", + "description": "List Pipelines", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_List", + "canvasName": "Pipelines_List", + "summary": "List Pipelines", + "description": "List Pipelines", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "26684231-03cf-4190-9a6c-5d4e31f4213c", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 42, + "reference": "09c576d8-1244-4d87-8bc9-ea700c4c2c56", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "Create Pipeline", + "description": "Create Pipeline", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_Create", + "canvasName": "Pipelines_Create", + "summary": "Create Pipeline", + "description": "Create Pipeline", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "251408db-3370-4a8e-99a7-983269cdda92", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 43, + "reference": "9b450745-dc69-4ed9-9a1a-5f1bb4ed3a5e", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "Get Pipeline", + "description": "Get Pipeline", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_Get", + "canvasName": "Pipelines_Get", + "summary": "Get Pipeline", + "description": "Get Pipeline", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "pipelineId": "$var.job.pipelineId", + "api-version": "7.1", + "pipelineVersion": "$var.job.pipelineVersion" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "pipelineVersion": { + "type": "integer" + } + }, + "required": [ + "project", + "pipelineId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "pipelineVersion": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "ef975da0-e118-4606-9726-1b8d60b7d10c", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 44, + "reference": "62f6f960-68f1-4a04-b311-30820963e33e", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "List Pipeline Runs", + "description": "List Pipeline Runs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_ListRuns", + "canvasName": "Pipelines_ListRuns", + "summary": "List Pipeline Runs", + "description": "List Pipeline Runs", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "pipelineId": "$var.job.pipelineId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + } + }, + "required": [ + "project", + "pipelineId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "4ee88940-557c-481b-be4e-486944ba3c41", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 45, + "reference": "a8b4d623-5026-4f26-a43c-06ca2611287f", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "Run Pipeline", + "description": "Run Pipeline", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_RunPipeline", + "canvasName": "Pipelines_RunPipeline", + "summary": "Run Pipeline", + "description": "Run Pipeline", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "pipelineId": "$var.job.pipelineId", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "pipelineId", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "0abe4d63-388a-45cf-a0c1-1f5347b3e002", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 46, + "reference": "3f026798-771b-4699-8edd-239f1a2747ee", + "type": "workflow", + "folder": "/Pipelines", + "document": { + "name": "Get Pipeline Run", + "description": "Get Pipeline Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "Pipelines_GetRun", + "canvasName": "Pipelines_GetRun", + "summary": "Get Pipeline Run", + "description": "Get Pipeline Run", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "pipelineId": "$var.job.pipelineId", + "runId": "$var.job.runId", + "api-version": "7.1" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "runId": { + "type": "integer" + } + }, + "required": [ + "project", + "pipelineId", + "runId" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "pipelineId": { + "type": "integer" + }, + "runId": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "8a69c88a-d7b5-4112-bb0a-a52e6d34c123", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 47, + "reference": "1a88d9d4-0ce3-4258-a50b-c9074b15dbe1", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Create Work Item", + "description": "Create Work Item", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_Create", + "canvasName": "WorkItems_Create", + "summary": "Create Work Item", + "description": "Create Work Item", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "type": "$var.job.type", + "api-version": "7.1", + "bypassRules": "$var.job.bypassRules", + "suppressNotifications": "$var.job.suppressNotifications", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "type": { + "type": "string" + }, + "bypassRules": { + "type": "boolean" + }, + "suppressNotifications": { + "type": "boolean" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "type", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "type": { + "type": "string" + }, + "bypassRules": { + "type": "boolean" + }, + "suppressNotifications": { + "type": "boolean" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "694e699f-853f-4c5d-9a98-46e4209d8938", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 48, + "reference": "b78385f4-259a-4d3e-99d5-6dd01a761cce", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Get Work Item", + "description": "Get Work Item", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_Get", + "canvasName": "WorkItems_Get", + "summary": "Get Work Item", + "description": "Get Work Item", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "id": "$var.job.id", + "api-version": "7.1", + "fields": "$var.job.fields", + "$expand": "$var.job.expand" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "fields": { + "type": "string" + }, + "expand": { + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "fields": { + "type": "string" + }, + "expand": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "a62fb2cf-b1e2-4d81-981b-42aa1ca06bd3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 49, + "reference": "8cd00b8e-9bc2-4ead-9404-46eb8729691d", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Update Work Item", + "description": "Update Work Item", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_Update", + "canvasName": "WorkItems_Update", + "summary": "Update Work Item", + "description": "Update Work Item", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "id": "$var.job.id", + "api-version": "7.1", + "bypassRules": "$var.job.bypassRules", + "suppressNotifications": "$var.job.suppressNotifications", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "bypassRules": { + "type": "boolean" + }, + "suppressNotifications": { + "type": "boolean" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "id", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "bypassRules": { + "type": "boolean" + }, + "suppressNotifications": { + "type": "boolean" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "d499a820-8f85-4e4d-abe1-85827cdfa8e0", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 50, + "reference": "96d644dc-9249-473e-a60d-e7af6aa11f65", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Delete Work Item", + "description": "Delete Work Item", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_Delete", + "canvasName": "WorkItems_Delete", + "summary": "Delete Work Item", + "description": "Delete Work Item", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "id": "$var.job.id", + "api-version": "7.1", + "destroy": "$var.job.destroy" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "destroy": { + "type": "boolean" + } + }, + "required": [ + "id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "destroy": { + "type": "boolean" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "a5c67447-14a9-44ce-be7a-b82f041192e3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 51, + "reference": "9a827102-f1f9-402d-a465-42a612e671ac", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "List Work Items", + "description": "List Work Items", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_List", + "canvasName": "WorkItems_List", + "summary": "List Work Items", + "description": "List Work Items", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "api-version": "7.1", + "ids": "$var.job.ids", + "fields": "$var.job.fields" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "ids": { + "type": "string" + }, + "fields": { + "type": "string" + } + }, + "required": [ + "ids" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "ids": { + "type": "string" + }, + "fields": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "d3b48d56-f9e7-40d8-a435-d8188f031dc3", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 52, + "reference": "78dbf333-acee-4ee0-8e17-7c070594713e", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Query By WIQL", + "description": "Query By WIQL", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_QueryByWiql", + "canvasName": "WorkItems_QueryByWiql", + "summary": "Query By WIQL", + "description": "Query By WIQL", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "api-version": "7.1", + "$top": "$var.job.top", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "top": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "d21a7e9a-e179-43b1-a2d5-1c66bb2a402a", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 53, + "reference": "5667e7cc-8a2f-48c6-8dde-fbe8a95872a2", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "List Work Item Comments", + "description": "List Work Item Comments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_ListComments", + "canvasName": "WorkItems_ListComments", + "summary": "List Work Item Comments", + "description": "List Work Item Comments", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "id": "$var.job.id", + "api-version": "7.1", + "$top": "$var.job.top" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "top": { + "type": "integer" + } + }, + "required": [ + "project", + "id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "top": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "43eef1d5-0739-42e8-bab4-c8c7eec86f30", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 54, + "reference": "ddae2090-e56b-415a-b9bb-44d5bb395a77", + "type": "workflow", + "folder": "/Work Item Tracking", + "document": { + "name": "Add Work Item Comment", + "description": "Add Work Item Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "WorkItems_AddComment", + "canvasName": "WorkItems_AddComment", + "summary": "Add Work Item Comment", + "description": "Add Work Item Comment", + "location": "Adapter", + "locationType": "Azure DevOps:latest", + "app": "Azure DevOps:latest", + "type": "automatic", + "displayName": "Azure DevOps", + "variables": { + "incoming": { + "adapter_id": "Azure DevOps", + "project": "$var.job.project", + "id": "$var.job.id", + "api-version": "7.1", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.requestBody" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "requestBody": { + "type": "string" + } + }, + "required": [ + "project", + "id", + "requestBody" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "requestBody": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-09-14T00:00:00.000Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "6.4.0", + "uuid": "955fa3bb-afbc-4b3e-a297-c069350fdc29", + "created": "2026-09-14T00:00:00.000Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "6.4.0", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + } + ], + "folders": [ + { + "nodeType": "folder", + "name": "Projects & Teams", + "children": [ + { + "iid": 0, + "nodeType": "component" + }, + { + "iid": 1, + "nodeType": "component" + }, + { + "iid": 2, + "nodeType": "component" + }, + { + "iid": 3, + "nodeType": "component" + }, + { + "iid": 4, + "nodeType": "component" + }, + { + "iid": 5, + "nodeType": "component" + }, + { + "iid": 6, + "nodeType": "component" + }, + { + "iid": 7, + "nodeType": "component" + }, + { + "iid": 8, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Git Repositories", + "children": [ + { + "iid": 9, + "nodeType": "component" + }, + { + "iid": 10, + "nodeType": "component" + }, + { + "iid": 11, + "nodeType": "component" + }, + { + "iid": 12, + "nodeType": "component" + }, + { + "iid": 13, + "nodeType": "component" + }, + { + "iid": 14, + "nodeType": "component" + }, + { + "iid": 15, + "nodeType": "component" + }, + { + "iid": 16, + "nodeType": "component" + }, + { + "iid": 17, + "nodeType": "component" + }, + { + "iid": 18, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Git Pull Requests", + "children": [ + { + "iid": 19, + "nodeType": "component" + }, + { + "iid": 20, + "nodeType": "component" + }, + { + "iid": 21, + "nodeType": "component" + }, + { + "iid": 22, + "nodeType": "component" + }, + { + "iid": 23, + "nodeType": "component" + }, + { + "iid": 24, + "nodeType": "component" + }, + { + "iid": 25, + "nodeType": "component" + }, + { + "iid": 26, + "nodeType": "component" + }, + { + "iid": 27, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Build", + "children": [ + { + "iid": 28, + "nodeType": "component" + }, + { + "iid": 29, + "nodeType": "component" + }, + { + "iid": 30, + "nodeType": "component" + }, + { + "iid": 31, + "nodeType": "component" + }, + { + "iid": 32, + "nodeType": "component" + }, + { + "iid": 33, + "nodeType": "component" + }, + { + "iid": 34, + "nodeType": "component" + }, + { + "iid": 35, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Build Definitions", + "children": [ + { + "iid": 36, + "nodeType": "component" + }, + { + "iid": 37, + "nodeType": "component" + }, + { + "iid": 38, + "nodeType": "component" + }, + { + "iid": 39, + "nodeType": "component" + }, + { + "iid": 40, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Pipelines", + "children": [ + { + "iid": 41, + "nodeType": "component" + }, + { + "iid": 42, + "nodeType": "component" + }, + { + "iid": 43, + "nodeType": "component" + }, + { + "iid": 44, + "nodeType": "component" + }, + { + "iid": 45, + "nodeType": "component" + }, + { + "iid": 46, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Work Item Tracking", + "children": [ + { + "iid": 47, + "nodeType": "component" + }, + { + "iid": 48, + "nodeType": "component" + }, + { + "iid": 49, + "nodeType": "component" + }, + { + "iid": 50, + "nodeType": "component" + }, + { + "iid": 51, + "nodeType": "component" + }, + { + "iid": 52, + "nodeType": "component" + }, + { + "iid": 53, + "nodeType": "component" + }, + { + "iid": 54, + "nodeType": "component" + } + ] + } + ], + "createdBy": { + "_id": "30877432d1026706d7e805da", + "provenance": "LDAP", + "username": "admin@itential" + }, + "lastUpdatedBy": { + "_id": "30877432d1026706d7e805da", + "provenance": "LDAP", + "username": "admin@itential" + }, + "created": "2026-09-14T00:00:00.000Z", + "lastUpdated": "2026-09-14T00:00:00.000Z", + "iid": 55, + "thumbnail": "", + "backgroundColor": "", + "referencedComponentHashes": [] +} diff --git a/README.md b/README.md index 2313c2c..d30b8ba 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Assets are organized by vendor and product. Each folder may contain one or more | **Kubernetes** | Container orchestration | | **LogicMonitor** | Observability | | **Mattermost** | Team collaboration & messaging | -| **Microsoft** | 365 IP and URL Web Service · Azure Key Vault · Graph Mail · Teams | +| **Microsoft** | 365 IP and URL Web Service · Azure DevOps · Azure Key Vault · Graph Mail · Teams | | **Nautobot** | Nautobot 2.4 | | **NetBox** | IPAM / DCIM | | **NetScaler** | ADC | From 8ad81c13661b1f356b40ff485e702bea3be8d267 Mon Sep 17 00:00:00 2001 From: Michael Elrom Date: Mon, 14 Sep 2026 14:16:16 -0400 Subject: [PATCH 2/2] fix(azure-devops): add full derived OpenAPI spec alongside curated -latest Preserves the complete operation surface (345 ops) across the same 5 azure-devops-node-api SDK areas the curated 55-operation spec was built from, per STANDARDS.md's dated/full spec requirement. Documents both specs in the README. --- .../OpenAPIs/azure_devops-7.1.json | 23226 ++++++++++++++++ Microsoft/Azure DevOps/README.md | 14 +- 2 files changed, 23237 insertions(+), 3 deletions(-) create mode 100644 Microsoft/Azure DevOps/OpenAPIs/azure_devops-7.1.json diff --git a/Microsoft/Azure DevOps/OpenAPIs/azure_devops-7.1.json b/Microsoft/Azure DevOps/OpenAPIs/azure_devops-7.1.json new file mode 100644 index 0000000..64ddcac --- /dev/null +++ b/Microsoft/Azure DevOps/OpenAPIs/azure_devops-7.1.json @@ -0,0 +1,23226 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "Azure DevOps", + "description": "Authentication: HTTP Basic (Personal Access Token as the password, blank username). Azure DevOps Services is Microsoft's SaaS platform for source control (Git), build/release pipelines, work item tracking, and project/team administration.", + "version": "7.1", + "x-vendor-api-version": "7.1" + }, + "servers": [ + { + "url": "https://dev.azure.com/ORGANIZATION", + "description": "Itential Platform Integration Models require a static server URL rather than OpenAPI server variables, so the actual organization is set per-instance instead \u2014 see the Integration Configuration section in the README." + } + ], + "security": [ + { + "basicAuth": [] + } + ], + "components": { + "securitySchemes": { + "basicAuth": { + "type": "http", + "scheme": "basic", + "description": "HTTP Basic auth using a blank username and an Azure DevOps Personal Access Token (PAT) as the password." + } + }, + "schemas": { + "IdentityRef": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "uniqueName": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "TeamProjectReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Project identifier." + }, + "name": { + "type": "string", + "description": "Project name." + }, + "description": { + "type": "string", + "description": "The project's description (if any)." + }, + "url": { + "type": "string" + }, + "state": { + "type": "string", + "description": "Project state." + }, + "revision": { + "type": "integer", + "description": "Project revision." + }, + "visibility": { + "type": "string", + "description": "Project visibility." + }, + "lastUpdateTime": { + "type": "string", + "description": "Project last update time.", + "format": "date-time" + } + } + }, + "TeamProject": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Project identifier." + }, + "name": { + "type": "string", + "description": "Project name." + }, + "description": { + "type": "string", + "description": "The project's description (if any)." + }, + "url": { + "type": "string" + }, + "state": { + "type": "string", + "description": "Project state." + }, + "revision": { + "type": "integer", + "description": "Project revision." + }, + "visibility": { + "type": "string", + "description": "Project visibility." + }, + "lastUpdateTime": { + "type": "string", + "description": "Project last update time.", + "format": "date-time" + }, + "capabilities": { + "type": "object", + "description": "Set of capabilities this project has (version control, process template)." + }, + "defaultTeam": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + } + } + } + }, + "TeamProjectList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TeamProjectReference" + } + } + } + }, + "WebApiTeam": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Team (Identity) GUID." + }, + "name": { + "type": "string", + "description": "Team name." + }, + "url": { + "type": "string" + }, + "description": { + "type": "string", + "description": "Team description." + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "identityUrl": { + "type": "string" + } + } + }, + "WebApiTeamList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + }, + "OperationReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Operation ID." + }, + "status": { + "type": "string", + "description": "Operation status." + }, + "url": { + "type": "string" + }, + "pluginId": { + "type": "string" + } + } + }, + "GitRepository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "defaultBranch": { + "type": "string" + }, + "size": { + "type": "integer", + "description": "Compressed size (bytes) of the repository." + }, + "remoteUrl": { + "type": "string" + }, + "sshUrl": { + "type": "string" + }, + "webUrl": { + "type": "string" + }, + "isDisabled": { + "type": "boolean", + "description": "True if the repository is disabled." + }, + "isFork": { + "type": "boolean", + "description": "True if the repository was created as a fork." + } + } + }, + "GitRepositoryList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitRepository" + } + }, + "GitRef": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Fully-qualified ref name, e.g. refs/heads/main." + }, + "objectId": { + "type": "string", + "description": "SHA1 hash of the object the ref points to." + }, + "peeledObjectId": { + "type": "string" + }, + "isLocked": { + "type": "boolean" + }, + "isLockedBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "url": { + "type": "string" + }, + "creator": { + "$ref": "#/components/schemas/IdentityRef" + } + } + }, + "GitRefList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitRef" + } + } + } + }, + "GitCommitRef": { + "type": "object", + "properties": { + "commitId": { + "type": "string", + "description": "SHA1 of the commit." + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "date": { + "type": "string", + "format": "date-time" + } + } + }, + "committer": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "date": { + "type": "string", + "format": "date-time" + } + } + }, + "comment": { + "type": "string", + "description": "Comment or message of the commit." + }, + "commentTruncated": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "remoteUrl": { + "type": "string" + }, + "changeCounts": { + "type": "object", + "properties": { + "Add": { + "type": "integer" + }, + "Edit": { + "type": "integer" + }, + "Delete": { + "type": "integer" + } + } + } + } + }, + "GitCommitRefList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitCommitRef" + } + } + } + }, + "GitPush": { + "type": "object", + "properties": { + "pushId": { + "type": "integer" + }, + "date": { + "type": "string", + "format": "date-time" + }, + "pushedBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "url": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/GitRepository" + }, + "commits": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitCommitRef" + } + }, + "refUpdates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Ref name being updated, e.g. refs/heads/main." + }, + "oldObjectId": { + "type": "string" + }, + "newObjectId": { + "type": "string" + } + } + } + } + } + }, + "GitPushList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPush" + } + } + } + }, + "GitPushRequest": { + "type": "object", + "properties": { + "refUpdates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Ref name being updated, e.g. refs/heads/main." + }, + "oldObjectId": { + "type": "string", + "description": "Current object ID the ref points to (all-zeros SHA for a new branch)." + }, + "newObjectId": { + "type": "string", + "description": "New object ID for the ref to point to." + } + } + } + }, + "commits": { + "type": "array", + "items": { + "type": "object", + "properties": { + "comment": { + "type": "string", + "description": "Commit message." + }, + "changes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "changeType": { + "type": "string", + "description": "add, edit, delete, rename." + }, + "item": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + } + }, + "newContent": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "contentType": { + "type": "string", + "description": "rawtext or base64encoded." + } + } + } + } + } + } + } + } + } + }, + "required": [ + "refUpdates", + "commits" + ] + }, + "GitItem": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "Git object ID." + }, + "commitId": { + "type": "string", + "description": "SHA1 of commit item was fetched at." + }, + "gitObjectType": { + "type": "string" + }, + "path": { + "type": "string" + }, + "url": { + "type": "string" + }, + "content": { + "type": "string", + "description": "File content, present when the request includes includeContent." + } + } + }, + "IdentityRefWithVote": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "uniqueName": { + "type": "string" + }, + "url": { + "type": "string" + }, + "vote": { + "type": "integer", + "description": "Vote on a pull request: 10 approved, 5 approved with suggestions, 0 no vote, -5 waiting, -10 rejected." + }, + "isRequired": { + "type": "boolean" + } + } + }, + "GitPullRequest": { + "type": "object", + "properties": { + "pullRequestId": { + "type": "integer" + }, + "codeReviewId": { + "type": "integer" + }, + "status": { + "type": "string", + "description": "active, abandoned, completed, notSet." + }, + "createdBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "creationDate": { + "type": "string", + "format": "date-time" + }, + "closedDate": { + "type": "string", + "format": "date-time" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "sourceRefName": { + "type": "string" + }, + "targetRefName": { + "type": "string" + }, + "mergeStatus": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "mergeId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repository": { + "$ref": "#/components/schemas/GitRepository" + }, + "reviewers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + } + } + } + }, + "GitPullRequestList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPullRequest" + } + }, + "GitPullRequestCreate": { + "type": "object", + "properties": { + "sourceRefName": { + "type": "string", + "description": "Fully-qualified source branch ref, e.g. refs/heads/feature-1." + }, + "targetRefName": { + "type": "string", + "description": "Fully-qualified target branch ref, e.g. refs/heads/main." + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "reviewers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + } + }, + "workItemRefs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + } + } + }, + "required": [ + "sourceRefName", + "targetRefName", + "title" + ] + }, + "GitPullRequestUpdate": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "active, abandoned, or completed." + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetRefName": { + "type": "string" + }, + "isDraft": { + "type": "boolean" + }, + "lastMergeSourceCommit": { + "type": "object", + "properties": { + "commitId": { + "type": "string" + } + } + }, + "completionOptions": { + "type": "object", + "properties": { + "deleteSourceBranch": { + "type": "boolean" + }, + "mergeCommitMessage": { + "type": "string" + }, + "squashMerge": { + "type": "boolean" + }, + "bypassPolicy": { + "type": "boolean" + } + } + } + } + }, + "Comment": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "parentCommentId": { + "type": "integer" + }, + "content": { + "type": "string" + }, + "commentType": { + "type": "string", + "description": "text, codeChange, system." + }, + "author": { + "$ref": "#/components/schemas/IdentityRef" + }, + "publishedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "GitPullRequestCommentThread": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "string", + "description": "active, fixed, wontFix, closed, byDesign, pending." + }, + "comments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comment" + } + }, + "threadContext": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + }, + "rightFileStart": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + }, + "rightFileEnd": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + } + } + }, + "publishedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "GitPullRequestCommentThreadList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GitPullRequestCommentThread" + } + }, + "GitPullRequestCommentThreadCreate": { + "type": "object", + "properties": { + "comments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "commentType": { + "type": "string" + } + } + }, + "description": "Comments in the new thread." + }, + "status": { + "type": "string", + "description": "active, fixed, wontFix, closed, byDesign, pending." + }, + "threadContext": { + "type": "object", + "properties": { + "filePath": { + "type": "string" + }, + "rightFileStart": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + }, + "rightFileEnd": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "comments" + ] + }, + "WebApiTagDefinition": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + }, + "DefinitionReference": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "path": { + "type": "string", + "description": "Folder path of the definition." + }, + "type": { + "type": "string", + "description": "build or xaml." + }, + "queueStatus": { + "type": "string", + "description": "enabled or paused or disabled." + }, + "revision": { + "type": "integer" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + } + } + }, + "BuildDefinitionList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DefinitionReference" + } + } + } + }, + "BuildRepository": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Repository ID, or full URL for external repos." + }, + "type": { + "type": "string", + "description": "TfsGit, GitHub, Bitbucket, etc." + }, + "name": { + "type": "string" + }, + "defaultBranch": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "BuildDefinition": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "path": { + "type": "string", + "description": "Folder path of the definition." + }, + "type": { + "type": "string", + "description": "build or xaml." + }, + "queueStatus": { + "type": "string", + "description": "enabled or paused or disabled." + }, + "revision": { + "type": "integer" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "repository": { + "$ref": "#/components/schemas/BuildRepository" + }, + "process": { + "type": "object", + "description": "Build process, e.g. YAML pipeline file path.", + "properties": { + "yamlFilename": { + "type": "string" + } + } + }, + "queue": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "variables": { + "type": "object", + "description": "Map of pipeline variable name to {value, allowOverride, isSecret}." + }, + "triggers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "triggerType": { + "type": "string" + } + } + } + } + } + }, + "Build": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "buildNumber": { + "type": "string" + }, + "status": { + "type": "string", + "description": "none, inProgress, completed, cancelling, postponed, notStarted, all." + }, + "result": { + "type": "string", + "description": "succeeded, partiallySucceeded, failed, canceled, none." + }, + "queueTime": { + "type": "string", + "format": "date-time" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "definition": { + "$ref": "#/components/schemas/DefinitionReference" + }, + "project": { + "$ref": "#/components/schemas/TeamProjectReference" + }, + "sourceBranch": { + "type": "string" + }, + "sourceVersion": { + "type": "string", + "description": "Commit/changeset the build was built from." + }, + "reason": { + "type": "string", + "description": "manual, individualCI, batchedCI, schedule, pullRequest, etc." + }, + "requestedFor": { + "$ref": "#/components/schemas/IdentityRef" + }, + "repository": { + "$ref": "#/components/schemas/BuildRepository" + }, + "deleted": { + "type": "boolean" + }, + "priority": { + "type": "string" + } + } + }, + "BuildList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Build" + } + } + } + }, + "BuildRequest": { + "type": "object", + "properties": { + "definition": { + "type": "object", + "properties": { + "id": { + "type": "integer" + } + }, + "required": [ + "id" + ] + }, + "sourceBranch": { + "type": "string", + "description": "Branch to build, e.g. refs/heads/main." + }, + "parameters": { + "type": "string", + "description": "JSON-encoded string of pipeline variable overrides." + }, + "reason": { + "type": "string" + } + }, + "required": [ + "definition" + ] + }, + "Change": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Commit/changeset ID." + }, + "message": { + "type": "string" + }, + "type": { + "type": "string", + "description": "git commit, TFVC changeset, etc." + }, + "author": { + "$ref": "#/components/schemas/IdentityRef" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + } + }, + "ChangeList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Change" + } + } + } + }, + "BuildLogList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "lineCount": { + "type": "integer" + }, + "createdOn": { + "type": "string", + "format": "date-time" + } + } + } + } + } + }, + "TimelineRecord": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "parentId": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Stage, Phase, Job, Task, Checkpoint, etc." + }, + "name": { + "type": "string" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "state": { + "type": "string", + "description": "pending, inProgress, completed." + }, + "result": { + "type": "string", + "description": "succeeded, failed, canceled, skipped, abandoned." + }, + "percentComplete": { + "type": "integer" + }, + "log": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string" + } + } + } + } + }, + "Timeline": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "changeId": { + "type": "integer" + }, + "lastChangedOn": { + "type": "string", + "format": "date-time" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TimelineRecord" + } + } + } + }, + "Pipeline": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "revision": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "folder": { + "type": "string" + }, + "configuration": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "yaml or designerJson." + }, + "path": { + "type": "string", + "description": "Path to the YAML pipeline file." + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + } + }, + "PipelineList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + }, + "PipelineCreate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "folder": { + "type": "string" + }, + "configuration": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "yaml" + }, + "path": { + "type": "string", + "description": "Path to the YAML pipeline file, e.g. /azure-pipelines.yml." + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "description": "azureReposGit, gitHub, etc." + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "type", + "path", + "repository" + ] + } + }, + "required": [ + "name", + "configuration" + ] + }, + "Run": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "state": { + "type": "string", + "description": "unknown, inProgress, canceling, completed." + }, + "result": { + "type": "string", + "description": "unknown, succeeded, failed, canceled." + }, + "createdDate": { + "type": "string", + "format": "date-time" + }, + "finishedDate": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "pipeline": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "revision": { + "type": "integer" + } + } + } + } + }, + "RunList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Run" + } + } + } + }, + "RunPipelineParameters": { + "type": "object", + "properties": { + "resources": { + "type": "object", + "properties": { + "repositories": { + "type": "object", + "description": "Map of repository resource name to {refName, version}." + } + } + }, + "templateParameters": { + "type": "object", + "description": "Map of pipeline template parameter name to value." + }, + "variables": { + "type": "object", + "description": "Map of runtime variable name to {value, isSecret}." + }, + "stagesToSkip": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "WorkItem": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The work item ID." + }, + "rev": { + "type": "integer", + "description": "Revision number of the work item." + }, + "fields": { + "type": "object", + "description": "Map of field reference name to value, e.g. System.Title, System.State, System.WorkItemType." + }, + "url": { + "type": "string" + }, + "relations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "rel": { + "type": "string" + }, + "url": { + "type": "string" + }, + "attributes": { + "type": "object" + } + } + } + } + } + }, + "WorkItemList": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + }, + "WorkItemDelete": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "deletedDate": { + "type": "string" + }, + "deletedBy": { + "type": "string" + }, + "project": { + "type": "string" + } + } + }, + "JsonPatchOperation": { + "type": "object", + "properties": { + "op": { + "type": "string", + "description": "add, remove, replace, move, copy, test." + }, + "path": { + "type": "string", + "description": "JSON Pointer path, e.g. /fields/System.Title." + }, + "value": {} + }, + "required": [ + "op", + "path" + ] + }, + "JsonPatchDocument": { + "type": "array", + "items": { + "$ref": "#/components/schemas/JsonPatchOperation" + } + }, + "Wiql": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Work Item Query Language (WIQL) SELECT statement." + } + }, + "required": [ + "query" + ] + }, + "WorkItemQueryResult": { + "type": "object", + "properties": { + "queryType": { + "type": "string" + }, + "queryResultType": { + "type": "string" + }, + "asOf": { + "type": "string", + "format": "date-time" + }, + "columns": { + "type": "array", + "items": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "workItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string" + } + } + } + } + } + }, + "CommentCreate": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "Comment text." + } + }, + "required": [ + "text" + ] + }, + "WorkItemComment": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "workItemId": { + "type": "integer" + }, + "version": { + "type": "integer" + }, + "text": { + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/IdentityRef" + }, + "createdDate": { + "type": "string", + "format": "date-time" + } + } + }, + "WorkItemCommentList": { + "type": "object", + "properties": { + "totalCount": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "comments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WorkItemComment" + } + } + } + }, + "Error": { + "type": "object", + "properties": { + "$id": { + "type": "string" + }, + "innerException": {}, + "message": { + "type": "string" + }, + "typeName": { + "type": "string" + }, + "typeKey": { + "type": "string" + }, + "errorCode": { + "type": "integer" + }, + "eventId": { + "type": "integer" + } + } + } + } + }, + "paths": { + "/_apis/build/controllers": { + "get": { + "summary": "Build Controllers", + "description": "Gets controller, optionally filtered by name", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildControllers", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildControllers SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/build/controllers/{controllerId}": { + "get": { + "summary": "Build Controller", + "description": "Gets a controller", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildController", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "controllerId", + "in": "path", + "required": true, + "description": "controllerId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/build/resourceusage": { + "get": { + "summary": "Resource Usage", + "description": "Gets information about build resources in the system.", + "tags": [ + "Build" + ], + "operationId": "Build_GetResourceUsage", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/build/retention/history": { + "get": { + "summary": "Retention History", + "description": "Returns the retention history for the project collection. This includes pipelines that have custom retention rules that may prevent the retention job from cleaning them up, runs per pipeline with retention type, files associated with pipelines owned by the collection with retention type, and the number of files per pipeline.", + "tags": [ + "Build" + ], + "operationId": "Build_GetRetentionHistory", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "daysToLookback", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRetentionHistory SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/git/enablement": { + "delete": { + "summary": "Enablement Status", + "description": "DELETE Deletes Enablement status and BillableCommitters data from DB. Deleting the enablement data will effectively disable it for the repositories affected.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_DeleteEnablementStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$allProjects", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$includeBillableCommitters", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "projectIds", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Enablement Status", + "description": "GET Enablement status for project's repositories.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetEnablementStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectIds", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$billingDate", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEnablementStatus SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$take", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEnablementStatus SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "put": { + "summary": "Enable On Create Host", + "description": "setEnableOnCreateHost", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_SetEnableOnCreateHost", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$enableOnCreateHost", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api setEnableOnCreateHost SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api setEnableOnCreateHost SDK method for the exact shape." + } + }, + "post": { + "summary": "Enablement Status", + "description": "POST Enablement status for repositories.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateEnablementStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateEnablementStatus SDK method for the exact shape." + } + } + }, + "/_apis/git/permissions": { + "get": { + "summary": "Permission", + "description": "GET Advanced Security Permission status.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetPermission", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$projectName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPermission SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$repositoryId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPermission SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$permission", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPermission SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/git/pullrequests/{pullRequestId}": { + "get": { + "summary": "Pull Request By Id", + "description": "Retrieve a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestById", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/git/repositories/estimatedbillablepushers": { + "get": { + "summary": "Estimated Billable Pushers Org", + "description": "Get estimated billable pushers for an Organization for last 90 days.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetEstimatedBillablePushersOrg", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/identitymru/{mruName}": { + "post": { + "summary": "Identity Mru", + "description": "createIdentityMru", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_CreateIdentityMru", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "mruName", + "in": "path", + "required": true, + "description": "mruName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createIdentityMru SDK method for the exact shape." + } + }, + "delete": { + "summary": "Identity Mru", + "description": "deleteIdentityMru", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_DeleteIdentityMru", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "mruName", + "in": "path", + "required": true, + "description": "mruName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Identity Mru", + "description": "getIdentityMru", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetIdentityMru", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "mruName", + "in": "path", + "required": true, + "description": "mruName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Identity Mru", + "description": "updateIdentityMru", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_UpdateIdentityMru", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "mruName", + "in": "path", + "required": true, + "description": "mruName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateIdentityMru SDK method for the exact shape." + } + } + }, + "/_apis/process/processes": { + "get": { + "summary": "Processes", + "description": "Get a list of processes.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProcesses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/process/processes/{processId}": { + "get": { + "summary": "Process By Id", + "description": "Get a process by ID.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProcessById", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "processId", + "in": "path", + "required": true, + "description": "processId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projectcollections": { + "get": { + "summary": "Project Collections", + "description": "Get project collection references for this application.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectCollections", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectCollections SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectCollections SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projectcollections/{collectionId}": { + "get": { + "summary": "Project Collection", + "description": "Get project collection with the specified id or name.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectCollection", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "collectionId", + "in": "path", + "required": true, + "description": "collectionId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projecthistory": { + "get": { + "summary": "Project History Entries", + "description": "Gets the history of changes to the project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectHistoryEntries", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "minRevision", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectHistoryEntries SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projects": { + "get": { + "summary": "List Projects", + "description": "Get a list of projects visible to the caller's organization.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "stateFilter", + "in": "query", + "required": false, + "description": "Filter on team project state (wellFormed, deleting, new, all).", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of projects to return.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "Number of projects to skip.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProjectList" + } + } + } + } + } + }, + "post": { + "summary": "Create Project", + "description": "Queue creation of a new team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Create", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationReference" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProject" + } + } + }, + "description": "Project to create (name, description, capabilities)." + } + } + }, + "/_apis/projects/properties": { + "get": { + "summary": "Projects Properties", + "description": "Get a collection of team project properties for multiple projects.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectsProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectIds", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectsProperties SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "properties", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectsProperties SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}": { + "get": { + "summary": "Get Project", + "description": "Get a team project by ID or name.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Get", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "includeCapabilities", + "in": "query", + "required": false, + "description": "Include capabilities (such as source control) in the team project result.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamProject" + } + } + } + } + } + }, + "delete": { + "summary": "Delete Project", + "description": "Queue deletion of a team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Projects_Delete", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationReference" + } + } + } + } + } + }, + "patch": { + "summary": "Project", + "description": "Update an existing project's name, abbreviation, description, or restore a project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_UpdateProject", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateProject SDK method for the exact shape." + } + } + }, + "/_apis/projects/{projectId}/avatar": { + "delete": { + "summary": "Project Avatar", + "description": "Removes the avatar for the project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_RemoveProjectAvatar", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "put": { + "summary": "Project Avatar", + "description": "Sets the avatar for the project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_SetProjectAvatar", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api setProjectAvatar SDK method for the exact shape." + } + } + }, + "/_apis/projects/{projectId}/connectedservices": { + "post": { + "summary": "Connected Service", + "description": "createConnectedService", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_CreateConnectedService", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createConnectedService SDK method for the exact shape." + } + }, + "get": { + "summary": "Connected Services", + "description": "getConnectedServices", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetConnectedServices", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "kind", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getConnectedServices SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}/connectedservices/{name}": { + "get": { + "summary": "Connected Service Details", + "description": "getConnectedServiceDetails", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetConnectedServiceDetails", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "description": "name identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}/properties": { + "get": { + "summary": "Project Properties", + "description": "Get a collection of team project properties.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "keys", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectProperties SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Project Properties", + "description": "Create, update, and delete team project properties.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_SetProjectProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api setProjectProperties SDK method for the exact shape." + } + } + }, + "/_apis/projects/{projectId}/teams": { + "post": { + "summary": "Create Team", + "description": "Create a team in a team project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Create", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + }, + "description": "Team to create (name, description)." + } + }, + "get": { + "summary": "List Teams", + "description": "Get a list of teams for a project.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_List", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeamList" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}/teams/categories": { + "get": { + "summary": "Project Teams By Category", + "description": "Gets list of user readable teams in a project and teams user is member of (excluded from readable list).", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProjectTeamsByCategory", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expandIdentity", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectTeamsByCategory SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectTeamsByCategory SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectTeamsByCategory SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/projects/{projectId}/teams/{teamId}": { + "delete": { + "summary": "Delete Team", + "description": "Delete a team.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Delete", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "get": { + "summary": "Get Team", + "description": "Get a specific team.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Get", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + } + }, + "patch": { + "summary": "Update Team", + "description": "Update a team's name and/or description.", + "tags": [ + "Projects & Teams" + ], + "operationId": "Teams_Update", + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "Team ID or team name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTeam" + } + } + }, + "description": "Fields to update." + } + } + }, + "/_apis/projects/{projectId}/teams/{teamId}/members": { + "get": { + "summary": "Team Members With Extended Properties", + "description": "Get a list of members for a specific team.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetTeamMembersWithExtendedProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "teamId", + "in": "path", + "required": true, + "description": "teamId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTeamMembersWithExtendedProperties SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTeamMembersWithExtendedProperties SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/proxies": { + "put": { + "summary": "Or Update Proxy", + "description": "createOrUpdateProxy", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_CreateOrUpdateProxy", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createOrUpdateProxy SDK method for the exact shape." + } + }, + "delete": { + "summary": "Proxy", + "description": "deleteProxy", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_DeleteProxy", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "proxyUrl", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteProxy SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "site", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteProxy SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Proxies", + "description": "getProxies", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetProxies", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "proxyUrl", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProxies SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/teams": { + "get": { + "summary": "All Teams", + "description": "Get a list of all teams.", + "tags": [ + "Projects & Teams" + ], + "operationId": "ProjectsTeams_GetAllTeams", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$mine", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAllTeams SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAllTeams SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAllTeams SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$expandIdentity", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAllTeams SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/artifactlinktypes": { + "get": { + "summary": "Work Artifact Link Types", + "description": "Get the list of work item tracking outbound artifact link types.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkArtifactLinkTypes", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/nextstatesoncheckinaction": { + "get": { + "summary": "Work Item Next States On Checkin Action", + "description": "Returns the next state on the given work item IDs.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemNextStatesOnCheckinAction", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "ids", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemNextStatesOnCheckinAction SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "action", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemNextStatesOnCheckinAction SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/recentmentions": { + "get": { + "summary": "Recent Mentions", + "description": "INTERNAL ONLY: USED BY ACCOUNT MY WORK PAGE.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRecentMentions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/workitemicons": { + "get": { + "summary": "Work Item Icons", + "description": "Get a list of all work item icons.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemIcons", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/workitemicons/{icon}": { + "get": { + "summary": "Work Item Icon Json", + "description": "Get a work item icon given the friendly name and icon color.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemIconJson", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "icon", + "in": "path", + "required": true, + "description": "icon identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "color", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemIconJson SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "v", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemIconJson SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/workitemrelationtypes": { + "get": { + "summary": "Relation Types", + "description": "Gets the work item relation types.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRelationTypes", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/workitemrelationtypes/{relation}": { + "get": { + "summary": "Relation Type", + "description": "Gets the work item relation type definition.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRelationType", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "relation", + "in": "path", + "required": true, + "description": "relation identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/wit/workitems": { + "get": { + "summary": "List Work Items", + "description": "Returns a list of work items by ID (maximum 200).", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_List", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "ids", + "in": "query", + "required": true, + "description": "Comma-separated list of requested work item IDs (maximum 200).", + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "Comma-separated list of requested fields.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemList" + } + } + } + } + } + } + }, + "/_apis/wit/workitems/{id}": { + "delete": { + "summary": "Delete Work Item", + "description": "Delete a work item (sends it to the Recycle Bin unless destroy is set).", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item to delete.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "destroy", + "in": "query", + "required": false, + "description": "Permanently destroy the work item instead of moving it to the Recycle Bin.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemDelete" + } + } + } + } + } + }, + "get": { + "summary": "Get Work Item", + "description": "Get a single work item by ID.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Get", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The work item ID.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "Comma-separated list of requested fields.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "None, Relations, Fields, Links, or All.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + } + }, + "patch": { + "summary": "Update Work Item", + "description": "Update a single work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "The ID of the work item to update.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "bypassRules", + "in": "query", + "required": false, + "description": "Do not enforce the work item type rules on this update.", + "schema": { + "type": "boolean" + } + }, + { + "name": "suppressNotifications", + "in": "query", + "required": false, + "description": "Do not fire any notifications for this change.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocument" + } + } + }, + "description": "JSON Patch document describing the fields to update. Content-Type must be application/json-patch+json." + } + } + }, + "/_apis/wit/workitemstatecolors": { + "post": { + "summary": "Work Item State Colors", + "description": "INTERNAL ONLY: It will be used for My account work experience. Get the work item type state color for multiple projects", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemStateColors", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getWorkItemStateColors SDK method for the exact shape." + } + } + }, + "/_apis/wit/workitemtypecoloricons": { + "post": { + "summary": "Work Item Type Color And Icons", + "description": "INTERNAL ONLY: It is used for color and icon providers. Get the wit type color for multiple projects", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeColorAndIcons", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getWorkItemTypeColorAndIcons SDK method for the exact shape." + } + } + }, + "/_apis/wit/workitemtypecolors": { + "post": { + "summary": "Work Item Type Colors", + "description": "INTERNAL ONLY: It will be used for My account work experience. Get the wit type color for multiple projects", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeColors", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getWorkItemTypeColors SDK method for the exact shape." + } + } + }, + "/_apis/work/accountmywork": { + "get": { + "summary": "Account My Work Data", + "description": "INTERNAL ONLY: USED BY ACCOUNT MY WORK PAGE. This returns Doing, Done, Follows and activity work items details.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetAccountMyWorkData", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$queryOption", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAccountMyWorkData SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/_apis/work/recentactivity": { + "get": { + "summary": "Recent Activity Data", + "description": "Gets recent work item activities", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRecentActivityData", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{projectId}/_apis/git/repositoriespaged": { + "get": { + "summary": "Repositories Paged", + "description": "Retrieve git repositories with filter by name and pagination.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRepositoriesPaged", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "description": "projectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeAllUrls", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeHidden", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "filterContains", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRepositoriesPaged SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/authorizedresources": { + "patch": { + "summary": "Authorize Project Resources", + "description": "authorizeProjectResources", + "tags": [ + "Build" + ], + "operationId": "Build_AuthorizeProjectResources", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api authorizeProjectResources SDK method for the exact shape." + } + }, + "get": { + "summary": "Project Resources", + "description": "getProjectResources", + "tags": [ + "Build" + ], + "operationId": "Build_GetProjectResources", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectResources SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectResources SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds": { + "get": { + "summary": "List Builds", + "description": "Get a list of builds.", + "tags": [ + "Build" + ], + "operationId": "Build_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitions", + "in": "query", + "required": false, + "description": "Comma-separated list of definition IDs to filter on.", + "schema": { + "type": "string" + } + }, + { + "name": "statusFilter", + "in": "query", + "required": false, + "description": "inProgress, completed, cancelling, postponed, notStarted, all.", + "schema": { + "type": "string" + } + }, + { + "name": "resultFilter", + "in": "query", + "required": false, + "description": "succeeded, partiallySucceeded, failed, canceled.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of builds to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildList" + } + } + } + } + } + }, + "post": { + "summary": "Queue Build", + "description": "Queue a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Queue", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildRequest" + } + } + } + } + }, + "patch": { + "summary": "Builds", + "description": "Updates multiple builds.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateBuilds", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateBuilds SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/builds/{buildId}": { + "delete": { + "summary": "Delete Build", + "description": "Delete a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Delete", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "get": { + "summary": "Get Build", + "description": "Get a build.", + "tags": [ + "Build" + ], + "operationId": "Build_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + } + }, + "patch": { + "summary": "Update Build", + "description": "Update a build (e.g. cancel it by setting status to cancelling).", + "tags": [ + "Build" + ], + "operationId": "Build_Update", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Build" + } + } + }, + "description": "Fields to update, e.g. {\"status\": \"cancelling\"}." + } + } + }, + "/{project}/_apis/build/builds/{buildId}/artifacts": { + "post": { + "summary": "Artifact", + "description": "Associates an artifact with a build.", + "tags": [ + "Build" + ], + "operationId": "Build_CreateArtifact", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createArtifact SDK method for the exact shape." + } + }, + "get": { + "summary": "Artifact", + "description": "Gets a specific artifact for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetArtifact", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "artifactName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getArtifact SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/attachments/{type}": { + "get": { + "summary": "Attachments", + "description": "Gets the list of attachments of a specific type that are associated with a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetAttachments", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/changes": { + "get": { + "summary": "Get Build Changes", + "description": "Get the changes (commits) associated with a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetChanges", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of changes to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChangeList" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/leases": { + "get": { + "summary": "Retention Leases For Build", + "description": "Gets all retention leases that apply to a specific build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetRetentionLeasesForBuild", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/logs": { + "get": { + "summary": "Get Build Logs", + "description": "Get the logs for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetLogs", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildLogList" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/logs/{logId}": { + "get": { + "summary": "Build Log", + "description": "Gets an individual log file for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildLog", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "logId", + "in": "path", + "required": true, + "description": "logId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "startLine", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildLog SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "endLine", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildLog SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/properties": { + "get": { + "summary": "Build Properties", + "description": "Gets properties for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildProperties SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Build Properties", + "description": "Updates properties for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateBuildProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateBuildProperties SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/builds/{buildId}/report": { + "get": { + "summary": "Build Report", + "description": "Gets a build report.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildReport", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildReport SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/stages/{stageRefName}": { + "patch": { + "summary": "Stage", + "description": "Update a build stage", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateStage", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "stageRefName", + "in": "path", + "required": true, + "description": "stageRefName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateStage SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/builds/{buildId}/tags": { + "post": { + "summary": "Build Tags", + "description": "Adds tags to a build.", + "tags": [ + "Build" + ], + "operationId": "Build_AddBuildTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api addBuildTags SDK method for the exact shape." + } + }, + "get": { + "summary": "Build Tags", + "description": "Gets the tags for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Build Tags", + "description": "Adds/Removes tags from a build.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateBuildTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateBuildTags SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/builds/{buildId}/tags/{tag}": { + "put": { + "summary": "Build Tag", + "description": "Adds a tag to a build.", + "tags": [ + "Build" + ], + "operationId": "Build_AddBuildTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tag", + "in": "path", + "required": true, + "description": "tag identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api addBuildTag SDK method for the exact shape." + } + }, + "delete": { + "summary": "Build Tag", + "description": "Removes a tag from a build. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+)", + "tags": [ + "Build" + ], + "operationId": "Build_DeleteBuildTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tag", + "in": "path", + "required": true, + "description": "tag identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/timeline": { + "get": { + "summary": "Get Build Timeline", + "description": "Get the timeline (stages/phases/jobs/tasks and their status) for a build.", + "tags": [ + "Build" + ], + "operationId": "Build_GetTimeline", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "ID of the build.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Timeline" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/timelines/{timelineId}/records/{recordId}/attachments/{type}/{name}": { + "get": { + "summary": "Attachment", + "description": "Gets a specific attachment.", + "tags": [ + "Build" + ], + "operationId": "Build_GetAttachment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "path", + "required": true, + "description": "name identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "recordId", + "in": "path", + "required": true, + "description": "recordId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "timelineId", + "in": "path", + "required": true, + "description": "timelineId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/builds/{buildId}/workitems": { + "get": { + "summary": "Build Work Items Refs", + "description": "Gets the work items associated with a build. Only work items in the same project are returned.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildWorkItemsRefs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildWorkItemsRefs SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "post": { + "summary": "Build Work Items Refs From Commits", + "description": "Gets the work items associated with a build, filtered to specific commits.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildWorkItemsRefsFromCommits", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "buildId", + "in": "path", + "required": true, + "description": "buildId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildWorkItemsRefsFromCommits SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getBuildWorkItemsRefsFromCommits SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/changes": { + "get": { + "summary": "Changes Between Builds", + "description": "Gets the changes made to the repository between two given builds.", + "tags": [ + "Build" + ], + "operationId": "Build_GetChangesBetweenBuilds", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fromBuildId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getChangesBetweenBuilds SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "toBuildId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getChangesBetweenBuilds SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getChangesBetweenBuilds SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions": { + "post": { + "summary": "Create Build Definition", + "description": "Create a build (pipeline) definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "get": { + "summary": "List Build Definitions", + "description": "Get a list of build definitions.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "Filter by definition name.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinitionList" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/templates": { + "get": { + "summary": "Templates", + "description": "Gets all definition templates.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetTemplates", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/templates/{templateId}": { + "delete": { + "summary": "Template", + "description": "Deletes a build definition template.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_DeleteTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Template", + "description": "Gets a specific build definition template.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "put": { + "summary": "Template", + "description": "Updates an existing build definition template.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_SaveTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api saveTemplate SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}": { + "delete": { + "summary": "Delete Build Definition", + "description": "Delete a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Delete", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "get": { + "summary": "Get Build Definition", + "description": "Get a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "revision", + "in": "query", + "required": false, + "description": "Specific revision to retrieve.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + } + }, + "patch": { + "summary": "Definition", + "description": "Restores a deleted definition", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_RestoreDefinition", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "deleted", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api restoreDefinition SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api restoreDefinition SDK method for the exact shape." + } + }, + "put": { + "summary": "Update Build Definition", + "description": "Update a build definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_Update", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "ID of the definition.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildDefinition" + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/authorizedresources": { + "patch": { + "summary": "Authorize Definition Resources", + "description": "authorizeDefinitionResources", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_AuthorizeDefinitionResources", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api authorizeDefinitionResources SDK method for the exact shape." + } + }, + "get": { + "summary": "Definition Resources", + "description": "getDefinitionResources", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionResources", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/badge": { + "get": { + "summary": "Badge", + "description": "Gets a badge that indicates the status of the most recent build for a definition. Note that this API is deprecated. Prefer StatusBadgeController.GetStatusBadge.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetBadge", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "branchName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBadge SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/metrics": { + "get": { + "summary": "Definition Metrics", + "description": "Gets build metrics for a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionMetrics", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "minMetricsTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionMetrics SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/properties": { + "get": { + "summary": "Definition Properties", + "description": "Gets properties for a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionProperties SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Definition Properties", + "description": "Updates properties for a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_UpdateDefinitionProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateDefinitionProperties SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/revisions": { + "get": { + "summary": "Definition Revisions", + "description": "Gets all revisions of a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionRevisions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/tags": { + "post": { + "summary": "Definition Tags", + "description": "Adds multiple tags to a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_AddDefinitionTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api addDefinitionTags SDK method for the exact shape." + } + }, + "get": { + "summary": "Definition Tags", + "description": "Gets the tags for a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revision", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionTags SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Definition Tags", + "description": "Adds/Removes tags from a definition.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_UpdateDefinitionTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateDefinitionTags SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/tags/{tag}": { + "put": { + "summary": "Definition Tag", + "description": "Adds a tag to a definition", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_AddDefinitionTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tag", + "in": "path", + "required": true, + "description": "tag identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api addDefinitionTag SDK method for the exact shape." + } + }, + "delete": { + "summary": "Definition Tag", + "description": "Removes a tag from a definition. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+)", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_DeleteDefinitionTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tag", + "in": "path", + "required": true, + "description": "tag identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + } + }, + "/{project}/_apis/build/definitions/{definitionId}/yaml": { + "get": { + "summary": "Definition Yaml", + "description": "Converts a definition to YAML, optionally at a specific revision.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetDefinitionYaml", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definitionId", + "in": "path", + "required": true, + "description": "definitionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revision", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionYaml SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "minMetricsTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionYaml SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "propertyFilters", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionYaml SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLatestBuilds", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDefinitionYaml SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/folders": { + "put": { + "summary": "Folder", + "description": "Creates a new folder.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_CreateFolder", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createFolder SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createFolder SDK method for the exact shape." + } + }, + "delete": { + "summary": "Folder", + "description": "Deletes a definition folder. Definitions and their corresponding builds will also be deleted.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_DeleteFolder", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteFolder SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Folders", + "description": "Gets a list of build definition folders.", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_GetFolders", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "queryOrder", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFolders SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "post": { + "summary": "Folder", + "description": "Updates an existing folder at given existing path", + "tags": [ + "Build Definitions" + ], + "operationId": "BuildDefinitions_UpdateFolder", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api updateFolder SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateFolder SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/generalsettings": { + "get": { + "summary": "Build General Settings", + "description": "Gets pipeline general settings.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildGeneralSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Build General Settings", + "description": "Updates pipeline general settings.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateBuildGeneralSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateBuildGeneralSettings SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/latest/{definition}": { + "get": { + "summary": "Latest Build", + "description": "Gets the latest build for a definition, optionally scoped to a specific branch.", + "tags": [ + "Build" + ], + "operationId": "Build_GetLatestBuild", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definition", + "in": "path", + "required": true, + "description": "definition identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "branchName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getLatestBuild SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/metrics/{metricAggregationType}": { + "get": { + "summary": "Project Metrics", + "description": "Gets build metrics for a project.", + "tags": [ + "Build" + ], + "operationId": "Build_GetProjectMetrics", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "metricAggregationType", + "in": "path", + "required": true, + "description": "metricAggregationType identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "minMetricsTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getProjectMetrics SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/options": { + "get": { + "summary": "Build Option Definitions", + "description": "Gets all build definition options supported by the system.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildOptionDefinitions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/retention/leases": { + "post": { + "summary": "Retention Leases", + "description": "Adds new leases for pipeline runs.", + "tags": [ + "Build" + ], + "operationId": "Build_AddRetentionLeases", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api addRetentionLeases SDK method for the exact shape." + } + }, + "delete": { + "summary": "Retention Leases By Id", + "description": "Removes specific retention leases.", + "tags": [ + "Build" + ], + "operationId": "Build_DeleteRetentionLeasesById", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "ids", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteRetentionLeasesById SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Retention Leases By Minimal Retention Leases", + "description": "Returns any leases matching the specified MinimalRetentionLeases", + "tags": [ + "Build" + ], + "operationId": "Build_GetRetentionLeasesByMinimalRetentionLeases", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "leasesToFetch", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRetentionLeasesByMinimalRetentionLeases SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/retention/leases/{leaseId}": { + "get": { + "summary": "Retention Lease", + "description": "Returns the details of the retention lease given a lease id.", + "tags": [ + "Build" + ], + "operationId": "Build_GetRetentionLease", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "leaseId", + "in": "path", + "required": true, + "description": "leaseId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Retention Lease", + "description": "Updates the duration or pipeline protection status of a retention lease.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateRetentionLease", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "leaseId", + "in": "path", + "required": true, + "description": "leaseId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRetentionLease SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/retention/settings": { + "get": { + "summary": "Retention Settings", + "description": "Gets the project's retention settings.", + "tags": [ + "Build" + ], + "operationId": "Build_GetRetentionSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Retention Settings", + "description": "Updates the project's retention settings.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateRetentionSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRetentionSettings SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/settings": { + "get": { + "summary": "Build Settings", + "description": "Gets the build settings.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Build Settings", + "description": "Updates the build settings.", + "tags": [ + "Build" + ], + "operationId": "Build_UpdateBuildSettings", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateBuildSettings SDK method for the exact shape." + } + } + }, + "/{project}/_apis/build/sourceproviders": { + "get": { + "summary": "Source Providers", + "description": "Get a list of source providers and their capabilities.", + "tags": [ + "Build" + ], + "operationId": "Build_ListSourceProviders", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/branches": { + "get": { + "summary": "Branches", + "description": "Gets a list of branches for the given source code repository.", + "tags": [ + "Build" + ], + "operationId": "Build_ListBranches", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listBranches SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listBranches SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "branchName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listBranches SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/filecontents": { + "get": { + "summary": "File Contents", + "description": "Gets the contents of a file in the given source code repository.", + "tags": [ + "Build" + ], + "operationId": "Build_GetFileContents", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFileContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFileContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "commitOrBranch", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFileContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFileContents SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/pathcontents": { + "get": { + "summary": "Path Contents", + "description": "Gets the contents of a directory in the given source code repository.", + "tags": [ + "Build" + ], + "operationId": "Build_GetPathContents", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPathContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPathContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "commitOrBranch", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPathContents SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPathContents SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/pullrequests/{pullRequestId}": { + "get": { + "summary": "Pull Request", + "description": "Gets a pull request object from source provider.", + "tags": [ + "Build" + ], + "operationId": "Build_GetPullRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequest SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequest SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/repositories": { + "get": { + "summary": "Repositories", + "description": "Gets a list of source code repositories.", + "tags": [ + "Build" + ], + "operationId": "Build_ListRepositories", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listRepositories SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listRepositories SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "resultSet", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listRepositories SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "pageResults", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listRepositories SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listRepositories SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/sourceproviders/{providerName}/webhooks": { + "post": { + "summary": "Webhooks", + "description": "Recreates the webhooks for the specified triggers in the given source code repository.", + "tags": [ + "Build" + ], + "operationId": "Build_RestoreWebhooks", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api restoreWebhooks SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api restoreWebhooks SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api restoreWebhooks SDK method for the exact shape." + } + }, + "get": { + "summary": "Webhooks", + "description": "Gets a list of webhooks installed in the given source code repository.", + "tags": [ + "Build" + ], + "operationId": "Build_ListWebhooks", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "providerName", + "in": "path", + "required": true, + "description": "providerName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "serviceEndpointId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listWebhooks SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listWebhooks SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/status/{definition}": { + "get": { + "summary": "Status Badge", + "description": "

Gets the build status for a definition, optionally scoped to a specific branch, stage, job, and configuration.

If there are more than one, then it is required to pass in a stageName value when specifying a jobName, and the same rule then applies for both if passing a configuration parameter.

", + "tags": [ + "Build" + ], + "operationId": "Build_GetStatusBadge", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "definition", + "in": "path", + "required": true, + "description": "definition identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "branchName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatusBadge SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "stageName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatusBadge SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "jobName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatusBadge SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "configuration", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatusBadge SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "label", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatusBadge SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/status/{repoType}": { + "get": { + "summary": "Build Badge", + "description": "Gets a badge that indicates the status of the most recent build for the specified branch.", + "tags": [ + "Build" + ], + "operationId": "Build_GetBuildBadge", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repoType", + "in": "path", + "required": true, + "description": "repoType identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repoId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildBadge SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "branchName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBuildBadge SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/tags": { + "get": { + "summary": "Tags", + "description": "Gets a list of all build tags in the project.", + "tags": [ + "Build" + ], + "operationId": "Build_GetTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/build/tags/{tag}": { + "delete": { + "summary": "Tag", + "description": "Removes a tag from builds, definitions, and from the tag store", + "tags": [ + "Build" + ], + "operationId": "Build_DeleteTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tag", + "in": "path", + "required": true, + "description": "tag identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + } + }, + "/{project}/_apis/build/workitems": { + "get": { + "summary": "Work Items Between Builds", + "description": "Gets all the work items between two builds.", + "tags": [ + "Build" + ], + "operationId": "Build_GetWorkItemsBetweenBuilds", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fromBuildId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemsBetweenBuilds SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "toBuildId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemsBetweenBuilds SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemsBetweenBuilds SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/deletedrepositories": { + "get": { + "summary": "Deleted Repositories", + "description": "Retrieve deleted git repositories.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetDeletedRepositories", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/favorites": { + "post": { + "summary": "Favorite", + "description": "Creates a ref favorite", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateFavorite", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createFavorite SDK method for the exact shape." + } + }, + "get": { + "summary": "Ref Favorites", + "description": "Gets the refs favorites for a repo and an identity.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRefFavorites", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRefFavorites SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "identityId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRefFavorites SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/favorites/{favoriteId}": { + "delete": { + "summary": "Ref Favorite", + "description": "Deletes the refs favorite specified", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_DeleteRefFavorite", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "favoriteId", + "in": "path", + "required": true, + "description": "favoriteId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Ref Favorite", + "description": "Gets the refs favorite for a favorite Id.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRefFavorite", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "favoriteId", + "in": "path", + "required": true, + "description": "favoriteId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/pullrequests": { + "get": { + "summary": "Pull Requests By Project", + "description": "Retrieve all pull requests matching a specified criteria.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestsByProject", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "searchCriteria", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestsByProject SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "maxCommentLength", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestsByProject SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestsByProject SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestsByProject SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/recyclebin/repositories": { + "get": { + "summary": "Recycle Bin Repositories", + "description": "Retrieve soft-deleted git repositories from the recycle bin.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRecycleBinRepositories", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/recyclebin/repositories/{repositoryId}": { + "delete": { + "summary": "Repository From Recycle Bin", + "description": "Destroy (hard delete) a soft-deleted Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_DeleteRepositoryFromRecycleBin", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "patch": { + "summary": "Repository From Recycle Bin", + "description": "Recover a soft-deleted Git repository. Recently deleted repositories go into a soft-delete state for a period of time before they are hard deleted and become unrecoverable.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_RestoreRepositoryFromRecycleBin", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api restoreRepositoryFromRecycleBin SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories": { + "post": { + "summary": "Create Repository", + "description": "Create a Git repository in a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_CreateRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + }, + "description": "Repository name and optional parent for a fork." + } + }, + "get": { + "summary": "List Repositories", + "description": "Get a list of Git repositories in a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListRepositories", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "True to include reference links.", + "schema": { + "type": "boolean" + } + }, + { + "name": "includeHidden", + "in": "query", + "required": false, + "description": "True to include hidden repositories.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepositoryList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/billablecommitters": { + "get": { + "summary": "Billable Committers", + "description": "Retrieve actual billable committers for Advanced Security service for a given date.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetBillableCommitters", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$billingDate", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBillableCommitters SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBillableCommitters SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$take", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBillableCommitters SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/estimatedbillablepushers": { + "get": { + "summary": "Estimated Billable Pushers Project", + "description": "Get estimated billable pushers for a project for last 90 days.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetEstimatedBillablePushersProject", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}": { + "delete": { + "summary": "Delete Repository", + "description": "Delete a Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_DeleteRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "get": { + "summary": "Get Repository", + "description": "Retrieve a Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_GetRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + } + }, + "patch": { + "summary": "Update Repository", + "description": "Update a Git repository's name or default branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_UpdateRepository", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRepository" + } + } + }, + "description": "Fields to update (name, defaultBranch, isDisabled)." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/annotatedtags": { + "post": { + "summary": "Annotated Tag", + "description": "Create an annotated tag.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateAnnotatedTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createAnnotatedTag SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/annotatedtags/{objectId}": { + "get": { + "summary": "Annotated Tag", + "description": "Get an annotated tag.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetAnnotatedTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "objectId", + "in": "path", + "required": true, + "description": "objectId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/blobs": { + "get": { + "summary": "Blobs Zip", + "description": "Gets one or more blobs in a zip file download.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetBlobsZip", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "filename", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBlobsZip SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/blobs/{sha1}": { + "get": { + "summary": "Blob", + "description": "Get a single blob.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetBlob", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "sha1", + "in": "path", + "required": true, + "description": "sha1 identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "download", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBlob SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "fileName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBlob SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "resolveLfs", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBlob SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/cherrypicks": { + "post": { + "summary": "Cherry Pick", + "description": "Cherry pick a specific commit or commits that are associated to a pull request into a new branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateCherryPick", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createCherryPick SDK method for the exact shape." + } + }, + "get": { + "summary": "Cherry Pick For Ref Name", + "description": "Retrieve information about a cherry pick operation for a specific branch. This operation is expensive due to the underlying object structure, so this API only looks at the 1000 most recent cherry pick operations.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCherryPickForRefName", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "refName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickForRefName SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/cherrypicks/{cherryPickId}": { + "get": { + "summary": "Cherry Pick", + "description": "Retrieve information about a cherry pick operation by cherry pick Id.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCherryPick", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "cherryPickId", + "in": "path", + "required": true, + "description": "cherryPickId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/cherrypicks/{cherryPickId}/conflicts": { + "get": { + "summary": "Cherry Pick Conflicts", + "description": "Retrieve all conflicts for a cherry pick", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCherryPickConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "cherryPickId", + "in": "path", + "required": true, + "description": "cherryPickId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickConflicts SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "excludeResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "onlyResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeObsolete", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickConflicts SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Cherry Pick Conflicts", + "description": "Update multiple merge conflict resolutions", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateCherryPickConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "cherryPickId", + "in": "path", + "required": true, + "description": "cherryPickId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateCherryPickConflicts SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/cherrypicks/{cherryPickId}/conflicts/{conflictId}": { + "get": { + "summary": "Cherry Pick Conflict", + "description": "Retrieve one conflict for a cherry pick by ID", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCherryPickConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "cherryPickId", + "in": "path", + "required": true, + "description": "cherryPickId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Cherry Pick Conflict", + "description": "Update merge conflict resolution", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateCherryPickConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "cherryPickId", + "in": "path", + "required": true, + "description": "cherryPickId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateCherryPickConflict SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commits": { + "get": { + "summary": "List Commits", + "description": "Retrieve git commits for a project.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListCommits", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "searchCriteria.itemVersion.version", + "in": "query", + "required": false, + "description": "Branch/tag/commit to filter on.", + "schema": { + "type": "string" + } + }, + { + "name": "searchCriteria.top", + "in": "query", + "required": false, + "description": "Maximum number of commits to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitCommitRefList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}": { + "get": { + "summary": "Commit", + "description": "Retrieve a particular commit.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCommit", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commitId", + "in": "path", + "required": true, + "description": "commitId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "changeCount", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommit SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/changes": { + "get": { + "summary": "Changes", + "description": "Retrieve changes for a particular commit.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetChanges", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commitId", + "in": "path", + "required": true, + "description": "commitId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getChanges SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getChanges SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/statuses": { + "post": { + "summary": "Commit Status", + "description": "Create Git commit status.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateCommitStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commitId", + "in": "path", + "required": true, + "description": "commitId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createCommitStatus SDK method for the exact shape." + } + }, + "get": { + "summary": "Statuses", + "description": "Get statuses associated with the Git commit.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetStatuses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commitId", + "in": "path", + "required": true, + "description": "commitId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatuses SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatuses SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "latestOnly", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getStatuses SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/commitsbatch": { + "post": { + "summary": "Commits Batch", + "description": "Retrieve git commits for a project matching the search criteria", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCommitsBatch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitsBatch SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitsBatch SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "includeStatuses", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitsBatch SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getCommitsBatch SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/diffs/commits": { + "get": { + "summary": "Commit Diffs", + "description": "Find the closest common commit (the merge base) between base and target commits, and get the diff between either the base and target commits or common and target commits.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCommitDiffs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "diffCommonCommit", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitDiffs SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitDiffs SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCommitDiffs SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/estimatedbillablecommitters": { + "get": { + "summary": "Estimated Billable Committers Repo", + "description": "Get estimated billable committers for a repository for the last 90 days.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetEstimatedBillableCommittersRepo", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/filediffs": { + "post": { + "summary": "File Diffs", + "description": "Get the file diffs for each of the specified files", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetFileDiffs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getFileDiffs SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/hfs": { + "get": { + "summary": "Hfs Item", + "description": "Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content, which is always returned as a download.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetHfsItem", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "scopePath", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "recursionLevel", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeContentMetadata", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "latestProcessedChange", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "download", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "versionDescriptor", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeContent", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "resolveHfs", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "sanitize", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getHfsItem SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/importrequests": { + "post": { + "summary": "Import Request", + "description": "Create an import request.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateImportRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createImportRequest SDK method for the exact shape." + } + }, + "get": { + "summary": "Import Requests", + "description": "Retrieve import requests for a repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_QueryImportRequests", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeAbandoned", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api queryImportRequests SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/importrequests/{importRequestId}": { + "get": { + "summary": "Import Request", + "description": "Retrieve a particular import request.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetImportRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "importRequestId", + "in": "path", + "required": true, + "description": "importRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Import Request", + "description": "Retry or abandon a failed import request.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateImportRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "importRequestId", + "in": "path", + "required": true, + "description": "importRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateImportRequest SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/items": { + "get": { + "summary": "Get Item", + "description": "Get an item (file or folder) from a repository, optionally including its content.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_GetItem", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "query", + "required": true, + "description": "Path to the item, e.g. /README.md.", + "schema": { + "type": "string" + } + }, + { + "name": "versionDescriptor.version", + "in": "query", + "required": false, + "description": "Branch, tag, or commit to read from.", + "schema": { + "type": "string" + } + }, + { + "name": "includeContent", + "in": "query", + "required": false, + "description": "True to include item content.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitItem" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/itemsbatch": { + "post": { + "summary": "Items Batch", + "description": "Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetItemsBatch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getItemsBatch SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequestquery": { + "post": { + "summary": "Pull Request Query", + "description": "This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestQuery", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getPullRequestQuery SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests": { + "post": { + "summary": "Create Pull Request", + "description": "Create a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_CreatePullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCreate" + } + } + } + } + }, + "get": { + "summary": "List Pull Requests", + "description": "Retrieve all pull requests matching a specified criteria.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequests", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "searchCriteria.status", + "in": "query", + "required": false, + "description": "active, abandoned, completed, or all.", + "schema": { + "type": "string" + } + }, + { + "name": "searchCriteria.creatorId", + "in": "query", + "required": false, + "description": "Filter by creator identity.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pull requests to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}": { + "get": { + "summary": "Get Pull Request", + "description": "Retrieve a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_GetPullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + } + }, + "patch": { + "summary": "Update Pull Request", + "description": "Update a pull request (complete, abandon, retarget, edit title/description).", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_UpdatePullRequest", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request to update.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequest" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestUpdate" + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/attachments": { + "get": { + "summary": "Attachments", + "description": "Get a list of files attached to a given pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetAttachments", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/attachments/{fileName}": { + "post": { + "summary": "Attachment", + "description": "Attach a new file to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreateAttachment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fileName", + "in": "path", + "required": true, + "description": "fileName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createAttachment SDK method for the exact shape." + } + }, + "delete": { + "summary": "Attachment", + "description": "Delete a pull request attachment.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeleteAttachment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fileName", + "in": "path", + "required": true, + "description": "fileName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Attachment Content", + "description": "Get the file content of a pull request attachment.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetAttachmentContent", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fileName", + "in": "path", + "required": true, + "description": "fileName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/commits": { + "get": { + "summary": "Pull Request Commits", + "description": "Get the commits for the specified pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestCommits", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/conflicts": { + "get": { + "summary": "Pull Request Conflicts", + "description": "Retrieve all conflicts for a pull request", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestConflicts SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestConflicts SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "includeObsolete", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "excludeResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "onlyResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestConflicts SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Conflicts", + "description": "Update multiple merge conflict resolutions", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestConflicts SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/conflicts/{conflictId}": { + "get": { + "summary": "Pull Request Conflict", + "description": "Retrieve one conflict for a pull request by ID", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Conflict", + "description": "Update merge conflict resolution", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestConflict SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations": { + "get": { + "summary": "Pull Request Iterations", + "description": "Get the list of iterations for the specified pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIterations", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeCommits", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterations SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations/{iterationId}": { + "get": { + "summary": "Pull Request Iteration", + "description": "Get the specified iteration for a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIteration", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations/{iterationId}/changes": { + "get": { + "summary": "Pull Request Iteration Changes", + "description": "Retrieve the changes made in a pull request between two iterations.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIterationChanges", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterationChanges SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterationChanges SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$compareTo", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterationChanges SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations/{iterationId}/commits": { + "get": { + "summary": "Pull Request Iteration Commits", + "description": "Get the commits for the specified iteration of a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIterationCommits", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterationCommits SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestIterationCommits SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations/{iterationId}/statuses": { + "post": { + "summary": "Pull Request Iteration Status", + "description": "Create a pull request status on the iteration. This operation will have the same result as Create status on pull request with specified iteration ID in the request body.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreatePullRequestIterationStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createPullRequestIterationStatus SDK method for the exact shape." + } + }, + "get": { + "summary": "Pull Request Iteration Statuses", + "description": "Get all the statuses associated with a pull request iteration.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIterationStatuses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Iteration Statuses", + "description": "Update pull request iteration statuses collection. The only supported operation type is `remove`.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestIterationStatuses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestIterationStatuses SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}": { + "delete": { + "summary": "Pull Request Iteration Status", + "description": "Delete pull request iteration status.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeletePullRequestIterationStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "statusId", + "in": "path", + "required": true, + "description": "statusId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Pull Request Iteration Status", + "description": "Get the specific pull request iteration status by ID. The status ID is unique within the pull request across all iterations.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestIterationStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "iterationId", + "in": "path", + "required": true, + "description": "iterationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "statusId", + "in": "path", + "required": true, + "description": "statusId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/labels": { + "post": { + "summary": "Add Pull Request Label", + "description": "Add a label to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_AddPullRequestLabel", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTagDefinition" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiTagDefinition" + } + } + }, + "description": "Label name to add." + } + }, + "get": { + "summary": "Pull Request Labels", + "description": "Get all the labels (tags) assigned to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestLabels", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestLabels SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/labels/{labelIdOrName}": { + "delete": { + "summary": "Pull Request Labels", + "description": "Removes a label (tag) from the set of those assigned to the pull request. The tag itself will not be deleted.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeletePullRequestLabels", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "labelIdOrName", + "in": "path", + "required": true, + "description": "labelIdOrName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deletePullRequestLabels SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Pull Request Label", + "description": "Retrieves a single label (tag) that has been assigned to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestLabel", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "labelIdOrName", + "in": "path", + "required": true, + "description": "labelIdOrName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestLabel SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/properties": { + "get": { + "summary": "Pull Request Properties", + "description": "Get external properties of the pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Properties", + "description": "Create or update pull request external properties. The patch operation can be `add`, `replace` or `remove`. For `add` operation, the path can be empty. If the path is empty, the value must be a list of key value pairs. For `replace` operation, the path cannot be empty. If the path does not exist, the property will be added to the collection. For `remove` operation, the path cannot be empty. If the path does not exist, no action will be performed.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestProperties", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestProperties SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/reviewers": { + "post": { + "summary": "Pull Request Reviewers", + "description": "Add reviewers to a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreatePullRequestReviewers", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createPullRequestReviewers SDK method for the exact shape." + } + }, + "put": { + "summary": "Unmaterialized Pull Request Reviewer", + "description": "Add an unmaterialized identity to the reviewers of a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreateUnmaterializedPullRequestReviewer", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createUnmaterializedPullRequestReviewer SDK method for the exact shape." + } + }, + "get": { + "summary": "List Pull Request Reviewers", + "description": "Retrieve the reviewers for a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequestReviewers", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Reviewers", + "description": "Reset the votes of multiple reviewers on a pull request. NOTE: This endpoint only supports updating votes, but does not support updating required reviewers (use policy) or display names.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestReviewers", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestReviewers SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/reviewers/{reviewerId}": { + "put": { + "summary": "Add Pull Request Reviewer", + "description": "Add a reviewer to a pull request, or vote on it, by identity ID.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_AddPullRequestReviewer", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "reviewerId", + "in": "path", + "required": true, + "description": "ID of the reviewer.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + } + } + }, + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityRefWithVote" + } + } + }, + "description": "Vote to cast (isRequired flag or vote value)." + } + }, + "delete": { + "summary": "Pull Request Reviewer", + "description": "Remove a reviewer from a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeletePullRequestReviewer", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reviewerId", + "in": "path", + "required": true, + "description": "reviewerId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Pull Request Reviewer", + "description": "Retrieve information about a particular reviewer on a pull request", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestReviewer", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reviewerId", + "in": "path", + "required": true, + "description": "reviewerId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Reviewer", + "description": "Edit a reviewer entry. These fields are patchable: isFlagged, hasDeclined", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestReviewer", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reviewerId", + "in": "path", + "required": true, + "description": "reviewerId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestReviewer SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/share": { + "post": { + "summary": "Share Pull Request", + "description": "Sends an e-mail notification about a specific pull request to a set of recipients", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_SharePullRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api sharePullRequest SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/statuses": { + "post": { + "summary": "Pull Request Status", + "description": "Create a pull request status.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreatePullRequestStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createPullRequestStatus SDK method for the exact shape." + } + }, + "get": { + "summary": "Pull Request Statuses", + "description": "Get all the statuses associated with a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestStatuses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Pull Request Statuses", + "description": "Update pull request statuses collection. The only supported operation type is `remove`.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdatePullRequestStatuses", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updatePullRequestStatuses SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/statuses/{statusId}": { + "delete": { + "summary": "Pull Request Status", + "description": "Delete pull request status.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeletePullRequestStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "statusId", + "in": "path", + "required": true, + "description": "statusId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Pull Request Status", + "description": "Get the specific pull request status by ID. The status ID is unique within the pull request across all iterations.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestStatus", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "statusId", + "in": "path", + "required": true, + "description": "statusId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads": { + "post": { + "summary": "Create Pull Request Thread", + "description": "Create a comment thread on a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_CreatePullRequestThread", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThread" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThreadCreate" + } + } + } + } + }, + "get": { + "summary": "List Pull Request Threads", + "description": "Retrieve all comment threads (code review comments) on a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "Git_ListPullRequestThreads", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The repository ID of the pull request's target branch.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "ID of the pull request.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPullRequestCommentThreadList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads/{threadId}": { + "get": { + "summary": "Pull Request Thread", + "description": "Retrieve a thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestThread", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$iteration", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestThread SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$baseIteration", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPullRequestThread SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Thread", + "description": "Update a thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdateThread", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateThread SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads/{threadId}/comments": { + "post": { + "summary": "Comment", + "description": "Create a comment on a specific thread in a pull request (up to 500 comments can be created per thread).", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreateComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createComment SDK method for the exact shape." + } + }, + "get": { + "summary": "Comments", + "description": "Retrieve all comments associated with a specific thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetComments", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads/{threadId}/comments/{commentId}": { + "delete": { + "summary": "Comment", + "description": "Delete a comment associated with a specific thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeleteComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Comment", + "description": "Retrieve a comment associated with a specific thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Comment", + "description": "Update a comment associated with a specific thread in a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_UpdateComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateComment SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes": { + "post": { + "summary": "Like", + "description": "Add a like on a comment.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_CreateLike", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createLike SDK method for the exact shape." + } + }, + "delete": { + "summary": "Like", + "description": "Delete a like on a comment.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_DeleteLike", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Likes", + "description": "Get likes for a comment.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetLikes", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "threadId", + "in": "path", + "required": true, + "description": "threadId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pullrequests/{pullRequestId}/workitems": { + "get": { + "summary": "Pull Request Work Item Refs", + "description": "Retrieve a list of work items associated with a pull request.", + "tags": [ + "Git Pull Requests" + ], + "operationId": "GitPullRequests_GetPullRequestWorkItemRefs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pullRequestId", + "in": "path", + "required": true, + "description": "pullRequestId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pushes": { + "post": { + "summary": "Create Push", + "description": "Push changes (new commits, ref updates) to a repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_CreatePush", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPush" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPushRequest" + } + } + }, + "description": "Ref updates and commits to push." + } + }, + "get": { + "summary": "List Pushes", + "description": "Retrieves a list of pushes made to a repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListPushes", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pushes to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitPushList" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}": { + "get": { + "summary": "Push", + "description": "Retrieves a particular push.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetPush", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pushId", + "in": "path", + "required": true, + "description": "pushId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeCommits", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPush SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeRefUpdates", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getPush SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/refs": { + "get": { + "summary": "List Refs", + "description": "Queries the provided repository for its refs (branches and tags) and returns them.", + "tags": [ + "Git Repositories" + ], + "operationId": "Git_ListRefs", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "The name or ID of the repository.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "description": "A filter to apply to the refs, e.g. heads/ or tags/.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GitRefList" + } + } + } + } + } + }, + "patch": { + "summary": "Ref", + "description": "Lock or Unlock a branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateRef", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "filter", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api updateRef SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api updateRef SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRef SDK method for the exact shape." + } + }, + "post": { + "summary": "Refs", + "description": "Creating, updating, or deleting refs(branches).", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateRefs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api updateRefs SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRefs SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/reverts": { + "post": { + "summary": "Revert", + "description": "Starts the operation to create a new branch which reverts changes introduced by either a specific commit or commits that are associated to a pull request.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateRevert", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createRevert SDK method for the exact shape." + } + }, + "get": { + "summary": "Revert For Ref Name", + "description": "Retrieve information about a revert operation for a specific branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRevertForRefName", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "refName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertForRefName SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}": { + "get": { + "summary": "Revert", + "description": "Retrieve information about a revert operation by revert Id.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRevert", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revertId", + "in": "path", + "required": true, + "description": "revertId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts": { + "get": { + "summary": "Revert Conflicts", + "description": "Retrieve all conflicts for a revert", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRevertConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revertId", + "in": "path", + "required": true, + "description": "revertId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertConflicts SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "excludeResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "onlyResolved", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertConflicts SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeObsolete", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevertConflicts SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Revert Conflicts", + "description": "Update multiple merge conflict resolutions", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateRevertConflicts", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revertId", + "in": "path", + "required": true, + "description": "revertId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRevertConflicts SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}": { + "get": { + "summary": "Revert Conflict", + "description": "Retrieve one conflict for a revert by ID", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetRevertConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revertId", + "in": "path", + "required": true, + "description": "revertId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Revert Conflict", + "description": "Update merge conflict resolution", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_UpdateRevertConflict", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "conflictId", + "in": "path", + "required": true, + "description": "conflictId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revertId", + "in": "path", + "required": true, + "description": "revertId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateRevertConflict SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/stats/branches": { + "get": { + "summary": "Branch", + "description": "Retrieve statistics about a single branch.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetBranch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBranch SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "baseVersionDescriptor", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getBranch SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "post": { + "summary": "Branch Stats Batch", + "description": "Retrieve statistics for multiple commits", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetBranchStatsBatch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getBranchStatsBatch SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/suggestions": { + "get": { + "summary": "Suggestions", + "description": "Retrieve a pull request suggestion for a particular repository or team project.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetSuggestions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "preferCompareBranch", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getSuggestions SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryId}/trees/{sha1}": { + "get": { + "summary": "Tree", + "description": "The Tree endpoint returns the collection of objects underneath the specified tree. Trees are folders in a Git repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetTree", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryId", + "in": "path", + "required": true, + "description": "repositoryId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "sha1", + "in": "path", + "required": true, + "description": "sha1 identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTree SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "recursive", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTree SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "fileName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTree SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/commits/{commitId}/cherrypickrelationships": { + "get": { + "summary": "Cherry Pick Relationships", + "description": "Given a commitId, returns a list of commits that are in the same cherry-pick family.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetCherryPickRelationships", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commitId", + "in": "path", + "required": true, + "description": "commitId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getCherryPickRelationships SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/forks/{collectionId}": { + "get": { + "summary": "Forks", + "description": "Retrieve all forks of a repository in the collection.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetForks", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "collectionId", + "in": "path", + "required": true, + "description": "collectionId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getForks SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/forksyncrequests": { + "post": { + "summary": "Fork Sync Request", + "description": "Request that another repository's refs be fetched into this one. It syncs two existing forks. To create a fork, please see the repositories endpoint", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateForkSyncRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createForkSyncRequest SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createForkSyncRequest SDK method for the exact shape." + } + }, + "get": { + "summary": "Fork Sync Requests", + "description": "Retrieve all requested fork sync operations on this repository.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetForkSyncRequests", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeAbandoned", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getForkSyncRequests SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getForkSyncRequests SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/forksyncrequests/{forkSyncOperationId}": { + "get": { + "summary": "Fork Sync Request", + "description": "Get a specific fork sync operation's details.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetForkSyncRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "forkSyncOperationId", + "in": "path", + "required": true, + "description": "forkSyncOperationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getForkSyncRequest SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/mergebases": { + "get": { + "summary": "Merge Bases", + "description": "Find the merge bases of two commits, optionally across forks. If otherRepositoryId is not specified, the merge bases will only be calculated within the context of the local repositoryNameOrId.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetMergeBases", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "otherCommitId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getMergeBases SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "otherCollectionId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getMergeBases SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "otherRepositoryId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getMergeBases SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/merges": { + "post": { + "summary": "Merge Request", + "description": "Request a git merge operation. Currently we support merging only 2 commits.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_CreateMergeRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createMergeRequest SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createMergeRequest SDK method for the exact shape." + } + } + }, + "/{project}/_apis/git/repositories/{repositoryNameOrId}/merges/{mergeOperationId}": { + "get": { + "summary": "Merge Request", + "description": "Get a specific merge operation's details.", + "tags": [ + "Git Repositories" + ], + "operationId": "GitRepositories_GetMergeRequest", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "mergeOperationId", + "in": "path", + "required": true, + "description": "mergeOperationId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "repositoryNameOrId", + "in": "path", + "required": true, + "description": "repositoryNameOrId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLinks", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getMergeRequest SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines": { + "post": { + "summary": "Create Pipeline", + "description": "Create a YAML pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PipelineCreate" + } + } + } + } + }, + "get": { + "summary": "List Pipelines", + "description": "Get a list of pipelines.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_List", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of pipelines to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PipelineList" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}": { + "get": { + "summary": "Get Pipeline", + "description": "Get a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_Get", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pipelineVersion", + "in": "query", + "required": false, + "description": "Pipeline definition revision to retrieve.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Pipeline" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/preview": { + "post": { + "summary": "Preview", + "description": "Queues a dry run of the pipeline and returns an object containing the final yaml.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_Preview", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "pipelineId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineVersion", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api preview SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api preview SDK method for the exact shape." + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs": { + "get": { + "summary": "List Pipeline Runs", + "description": "Get a list of runs for a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_ListRuns", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunList" + } + } + } + } + } + }, + "post": { + "summary": "Run Pipeline", + "description": "Run a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_RunPipeline", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Run" + } + } + } + } + }, + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunPipelineParameters" + } + } + }, + "description": "Runtime parameters, variables, and resources for the run." + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs/{runId}": { + "get": { + "summary": "Get Pipeline Run", + "description": "Get a specific run for a pipeline.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_GetRun", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "ID of the pipeline.", + "schema": { + "type": "integer" + } + }, + { + "name": "runId", + "in": "path", + "required": true, + "description": "ID of the run.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Run" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/artifacts": { + "get": { + "summary": "Artifact", + "description": "Get a specific artifact from a pipeline run", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_GetArtifact", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "pipelineId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "runId", + "in": "path", + "required": true, + "description": "runId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "artifactName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getArtifact SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getArtifact SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs": { + "get": { + "summary": "Logs", + "description": "Get a list of logs from a pipeline run.", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_ListLogs", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "pipelineId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "runId", + "in": "path", + "required": true, + "description": "runId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api listLogs SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}": { + "get": { + "summary": "Log", + "description": "Get a specific log from a pipeline run", + "tags": [ + "Pipelines" + ], + "operationId": "Pipelines_GetLog", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "logId", + "in": "path", + "required": true, + "description": "logId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "pipelineId", + "in": "path", + "required": true, + "description": "pipelineId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "runId", + "in": "path", + "required": true, + "description": "runId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getLog SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/artifacturiquery": { + "post": { + "summary": "Work Items For Artifact Uris", + "description": "Queries work items linked to a given list of artifact URI.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_QueryWorkItemsForArtifactUris", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api queryWorkItemsForArtifactUris SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/attachments": { + "post": { + "summary": "Attachment", + "description": "Uploads an attachment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateAttachment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fileName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createAttachment SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "uploadType", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createAttachment SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "areaPath", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createAttachment SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createAttachment SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/attachments/{id}": { + "get": { + "summary": "Attachment Content", + "description": "Downloads an attachment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetAttachmentContent", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fileName", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAttachmentContent SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "download", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getAttachmentContent SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/classificationnodes": { + "get": { + "summary": "Classification Nodes", + "description": "Gets root classification nodes or list of classification nodes for a given list of nodes ids, for a given project. In case ids parameter is supplied you will get list of classification nodes for those ids. Otherwise you will get root classification nodes for this project.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetClassificationNodes", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "ids", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getClassificationNodes SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$depth", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getClassificationNodes SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "errorPolicy", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getClassificationNodes SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/classificationnodes/{structureGroup}/{path}": { + "post": { + "summary": "Or Update Classification Node", + "description": "Create new or update an existing classification node.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateOrUpdateClassificationNode", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "path", + "required": true, + "description": "path identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "structureGroup", + "in": "path", + "required": true, + "description": "structureGroup identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createOrUpdateClassificationNode SDK method for the exact shape." + } + }, + "delete": { + "summary": "Classification Node", + "description": "Delete an existing classification node.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteClassificationNode", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "path", + "required": true, + "description": "path identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "structureGroup", + "in": "path", + "required": true, + "description": "structureGroup identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$reclassifyId", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api deleteClassificationNode SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Classification Node", + "description": "Gets the classification node for a given node path.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetClassificationNode", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "path", + "required": true, + "description": "path identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "structureGroup", + "in": "path", + "required": true, + "description": "structureGroup identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$depth", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getClassificationNode SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Classification Node", + "description": "Update an existing classification node.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateClassificationNode", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "path", + "in": "path", + "required": true, + "description": "path identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "structureGroup", + "in": "path", + "required": true, + "description": "structureGroup identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateClassificationNode SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/fields": { + "post": { + "summary": "Field", + "description": "Create a new field.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateField", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createField SDK method for the exact shape." + } + }, + "get": { + "summary": "Fields", + "description": "Returns information for all fields. The project ID/name parameter is optional.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetFields", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getFields SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/fields/{fieldNameOrRefName}": { + "delete": { + "summary": "Field", + "description": "Deletes the field. To undelete a filed, see \"Update Field\" API.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteField", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fieldNameOrRefName", + "in": "path", + "required": true, + "description": "fieldNameOrRefName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Field", + "description": "Gets information on a specific field.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetField", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fieldNameOrRefName", + "in": "path", + "required": true, + "description": "fieldNameOrRefName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Field", + "description": "Update a field.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateField", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "fieldNameOrRefName", + "in": "path", + "required": true, + "description": "fieldNameOrRefName identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateField SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/process": { + "post": { + "summary": "Projects Process", + "description": "Migrates a project to a different process within the same OOB type. For example, you can only migrate a project from agile/custom-agile to agile/custom-agile.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_MigrateProjectsProcess", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api migrateProjectsProcess SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/queries": { + "get": { + "summary": "Queries", + "description": "Gets the root queries and their children", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetQueries", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQueries SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$depth", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQueries SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$includeDeleted", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQueries SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "post": { + "summary": "Queries Batch", + "description": "Gets a list of queries by ids (Maximum 1000)", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetQueriesBatch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getQueriesBatch SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/queries/{query}": { + "post": { + "summary": "Query", + "description": "Creates a query, or moves a query.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateQuery", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "query", + "in": "path", + "required": true, + "description": "query identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "validateWiqlOnly", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api createQuery SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createQuery SDK method for the exact shape." + } + }, + "delete": { + "summary": "Query", + "description": "Delete a query or a folder. This deletes any permission change on the deleted query or folder and any of its descendants if it is a folder. It is important to note that the deleted permission changes cannot be recovered upon undeleting the query or folder.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteQuery", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "query", + "in": "path", + "required": true, + "description": "query identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Query", + "description": "Retrieves an individual query and its children", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetQuery", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "query", + "in": "path", + "required": true, + "description": "query identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQuery SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$depth", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQuery SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$includeDeleted", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQuery SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$useIsoDateFormat", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getQuery SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Query", + "description": "Update a query or a folder. This allows you to update, rename and move queries and folders.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateQuery", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "query", + "in": "path", + "required": true, + "description": "query identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$undeleteDescendants", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api updateQuery SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateQuery SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/recyclebin": { + "get": { + "summary": "Deleted Work Items", + "description": "Gets the work items from the recycle bin, whose IDs have been specified in the parameters", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetDeletedWorkItems", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "ids", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getDeletedWorkItems SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/recyclebin/{id}": { + "delete": { + "summary": "Work Item", + "description": "Destroys the specified work item permanently from the Recycle Bin. This action can not be undone.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DestroyWorkItem", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Deleted Work Item", + "description": "Gets a deleted work item from Recycle Bin.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetDeletedWorkItem", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Work Item", + "description": "Restores the deleted work item from Recycle Bin.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_RestoreWorkItem", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api restoreWorkItem SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/reporting/discussions": { + "get": { + "summary": "Reporting Discussions", + "description": "readReportingDiscussions", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_ReadReportingDiscussions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingDiscussions SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$maxPageSize", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingDiscussions SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/reporting/linktypes": { + "get": { + "summary": "Reporting Links By Link Type", + "description": "Get a batch of work item links", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetReportingLinksByLinkType", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "linkTypes", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getReportingLinksByLinkType SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "types", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getReportingLinksByLinkType SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getReportingLinksByLinkType SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "startDateTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getReportingLinksByLinkType SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/reporting/workitemrevisions": { + "get": { + "summary": "Reporting Revisions Get", + "description": "Get a batch of work item revisions with the option of including deleted items", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_ReadReportingRevisionsGet", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "types", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "startDateTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeIdentityRef", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeDeleted", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeTagRef", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeLatestOnly", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "includeDiscussionChangesOnly", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$maxPageSize", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsGet SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "post": { + "summary": "Reporting Revisions Post", + "description": "Get a batch of work item revisions. This request may be used if your list of fields is large enough that it may run the URL over the length limit.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_ReadReportingRevisionsPost", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "continuationToken", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsPost SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "startDateTime", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsPost SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api readReportingRevisionsPost SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api readReportingRevisionsPost SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/sendmail": { + "post": { + "summary": "Mail", + "description": "RESTful method to send mail for selected/queried work items.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_SendMail", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api sendMail SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/tags": { + "get": { + "summary": "Tags", + "description": "getTags", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetTags", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/tags/{tagIdOrName}": { + "delete": { + "summary": "Tag", + "description": "deleteTag", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tagIdOrName", + "in": "path", + "required": true, + "description": "tagIdOrName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Tag", + "description": "getTag", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tagIdOrName", + "in": "path", + "required": true, + "description": "tagIdOrName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Tag", + "description": "updateTag", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateTag", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "tagIdOrName", + "in": "path", + "required": true, + "description": "tagIdOrName identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateTag SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/wiql": { + "post": { + "summary": "Query By WIQL", + "description": "Get a list of work items matching a Work Item Query Language (WIQL) query.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_QueryByWiql", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of results to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemQueryResult" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiql" + } + } + } + } + } + }, + "/{project}/_apis/wit/wiql/{id}": { + "get": { + "summary": "By Id", + "description": "Gets the results of the query given the query ID.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_QueryById", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "timePrecision", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api queryById SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api queryById SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/${type}": { + "post": { + "summary": "Create Work Item", + "description": "Create a single work item of the given type.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_Create", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "The work item type of the work item to create, e.g. Bug, Task, User Story.", + "schema": { + "type": "string" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "bypassRules", + "in": "query", + "required": false, + "description": "Do not enforce the work item type rules on this create.", + "schema": { + "type": "boolean" + } + }, + { + "name": "suppressNotifications", + "in": "query", + "required": false, + "description": "Do not fire any notifications for this change.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItem" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonPatchDocument" + } + } + }, + "description": "JSON Patch document describing the fields to set, e.g. [{\"op\": \"add\", \"path\": \"/fields/System.Title\", \"value\": \"...\"}]. Content-Type must be application/json-patch+json." + } + }, + "get": { + "summary": "Work Item Template", + "description": "Returns a single work item from a template.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "fields", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemTemplate SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "asOf", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemTemplate SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemTemplate SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments": { + "post": { + "summary": "Add Work Item Comment", + "description": "Add a comment to a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_AddComment", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemComment" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CommentCreate" + } + } + } + } + }, + "get": { + "summary": "List Work Item Comments", + "description": "Get comments for a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItems_ListComments", + "parameters": [ + { + "name": "project", + "in": "path", + "required": true, + "description": "Project ID or project name.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the work item.", + "schema": { + "type": "integer" + } + }, + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "Maximum number of comments to return.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkItemCommentList" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}": { + "delete": { + "summary": "Comment", + "description": "Delete a comment on a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Comment", + "description": "Returns a work item comment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "includeDeleted", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getComment SDK method for usage.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getComment SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "patch": { + "summary": "Comment", + "description": "Update a comment on a work item.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateComment", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateComment SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}/reactions": { + "get": { + "summary": "Comment Reactions", + "description": "Gets reactions of a comment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetCommentReactions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}/reactions/{reactionType}": { + "put": { + "summary": "Comment Reaction", + "description": "Adds a new reaction to a comment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateCommentReaction", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reactionType", + "in": "path", + "required": true, + "description": "reactionType identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createCommentReaction SDK method for the exact shape." + } + }, + "delete": { + "summary": "Comment Reaction", + "description": "Deletes an existing reaction on a comment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteCommentReaction", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reactionType", + "in": "path", + "required": true, + "description": "reactionType identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}/reactions/{reactionType}/users": { + "get": { + "summary": "Engaged Users", + "description": "Get users who reacted on the comment.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetEngagedUsers", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "reactionType", + "in": "path", + "required": true, + "description": "reactionType identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEngagedUsers SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getEngagedUsers SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}/versions": { + "get": { + "summary": "Comment Versions", + "description": "getCommentVersions", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetCommentVersions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/comments/{commentId}/versions/{version}": { + "get": { + "summary": "Comment Version", + "description": "getCommentVersion", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetCommentVersion", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "commentId", + "in": "path", + "required": true, + "description": "commentId identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "version identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/revisions": { + "get": { + "summary": "Revisions", + "description": "Returns the list of fully hydrated work item revisions, paged.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRevisions", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevisions SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevisions SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevisions SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/revisions/{revisionNumber}": { + "get": { + "summary": "Revision", + "description": "Returns a fully hydrated work item for the requested revision", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetRevision", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "revisionNumber", + "in": "path", + "required": true, + "description": "revisionNumber identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getRevision SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/updates": { + "get": { + "summary": "Updates", + "description": "Returns a the deltas between work item revisions", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetUpdates", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$top", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getUpdates SDK method for usage.", + "schema": { + "type": "integer" + } + }, + { + "name": "$skip", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getUpdates SDK method for usage.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitems/{id}/updates/{updateNumber}": { + "get": { + "summary": "Update", + "description": "Returns a single update for a work item", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetUpdate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "id identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "updateNumber", + "in": "path", + "required": true, + "description": "updateNumber identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemsbatch": { + "post": { + "summary": "Work Items Batch", + "description": "Gets work items for a list of work item ids (Maximum 200)", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemsBatch", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api getWorkItemsBatch SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/workitemtypecategories": { + "get": { + "summary": "Work Item Type Categories", + "description": "Get all work item type categories.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeCategories", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypecategories/{category}": { + "get": { + "summary": "Work Item Type Category", + "description": "Get specific work item type category by name.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeCategory", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "category", + "in": "path", + "required": true, + "description": "category identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypedefinitions": { + "post": { + "summary": "Work Item Type Definition", + "description": "Add/updates a work item type", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_UpdateWorkItemTypeDefinition", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api updateWorkItemTypeDefinition SDK method for the exact shape." + } + } + }, + "/{project}/_apis/wit/workitemtypedefinitions/{type}": { + "get": { + "summary": "Work Item Type Definition", + "description": "Export work item type", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_ExportWorkItemTypeDefinition", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "exportGlobalLists", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api exportWorkItemTypeDefinition SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypes": { + "get": { + "summary": "Work Item Types", + "description": "Returns the list of work item types", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypes", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypes/{type}": { + "get": { + "summary": "Work Item Type", + "description": "Returns a work item type definition.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemType", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypes/{type}/fields": { + "get": { + "summary": "Work Item Type Fields With References", + "description": "Get a list of fields for a work item type with detailed references.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeFieldsWithReferences", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemTypeFieldsWithReferences SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypes/{type}/fields/{field}": { + "get": { + "summary": "Work Item Type Field With References", + "description": "Get a field for a work item type with detailed references.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeFieldWithReferences", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "field", + "in": "path", + "required": true, + "description": "field identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "$expand", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getWorkItemTypeFieldWithReferences SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/_apis/wit/workitemtypes/{type}/states": { + "get": { + "summary": "Work Item Type States", + "description": "Returns the state names and colors for a work item type.", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetWorkItemTypeStates", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "required": true, + "description": "type identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/{team}/_apis/wit/templates": { + "post": { + "summary": "Template", + "description": "Creates a template", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_CreateTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "team", + "in": "path", + "required": true, + "description": "team identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api createTemplate SDK method for the exact shape." + } + }, + "get": { + "summary": "Templates", + "description": "Gets template", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetTemplates", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "team", + "in": "path", + "required": true, + "description": "team identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "workitemtypename", + "in": "query", + "required": false, + "description": "See the azure-devops-node-api getTemplates SDK method for usage.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/{project}/{team}/_apis/wit/templates/{templateId}": { + "delete": { + "summary": "Template", + "description": "Deletes the template with given id", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_DeleteTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "team", + "in": "path", + "required": true, + "description": "team identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Deleted." + } + } + }, + "get": { + "summary": "Template", + "description": "Gets the template with specified id", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_GetTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "team", + "in": "path", + "required": true, + "description": "team identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "put": { + "summary": "Replace Template", + "description": "Replace template contents", + "tags": [ + "Work Item Tracking" + ], + "operationId": "WorkItemTracking_ReplaceTemplate", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": true, + "description": "Azure DevOps REST API version.", + "schema": { + "type": "string", + "default": "7.1" + } + }, + { + "name": "project", + "in": "path", + "required": true, + "description": "project identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "team", + "in": "path", + "required": true, + "description": "team identifier.", + "schema": { + "type": "string" + } + }, + { + "name": "templateId", + "in": "path", + "required": true, + "description": "templateId identifier.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + }, + "description": "Request payload \u2014 see the azure-devops-node-api replaceTemplate SDK method for the exact shape." + } + } + } + } +} \ No newline at end of file diff --git a/Microsoft/Azure DevOps/README.md b/Microsoft/Azure DevOps/README.md index 3ed80c5..3f9f563 100644 --- a/Microsoft/Azure DevOps/README.md +++ b/Microsoft/Azure DevOps/README.md @@ -9,6 +9,7 @@ Azure DevOps Services is Microsoft's cloud-hosted platform for the software deve - [Integration Configuration](#integration-configuration) - [OpenAPIs](#openapis) - [`azure_devops-latest.json`](#azure_devops-latestjson) + - [`azure_devops-7.1.json`](#azure_devops-71json) - [Studio Projects](#studio-projects) - [Azure DevOps Project](#azure-devops-project) - [Folder Structure](#folder-structure) @@ -17,7 +18,7 @@ Azure DevOps Services is Microsoft's cloud-hosted platform for the software deve | Asset | Description | |---|---| -| [OpenAPIs/](./OpenAPIs/) | Azure DevOps Services REST API OpenAPI spec, curated for automation | +| [OpenAPIs/](./OpenAPIs/) | Azure DevOps Services REST API OpenAPI specs — curated `-latest` plus the full derived spec | | [Studio Projects/](./Studio%20Projects/) | Itential Platform project containing 55 workflows in 7 folders | ## Requirements @@ -60,14 +61,15 @@ Every operation in the spec requires an `api-version` query parameter; it defaul ## OpenAPIs +Microsoft does not publish a static OpenAPI/Swagger document for Azure DevOps Services, and there is no live introspection endpoint to generate one from (it's a multi-tenant SaaS). Both specs below are derived directly from [`microsoft/azure-devops-node-api`](https://github.com/microsoft/azure-devops-node-api) (v17.0.1), Microsoft's own officially-maintained TypeScript client library — its interface files and API client classes define the exact request/response shapes, REST paths, HTTP methods, and API version for every operation, scoped to the same 5 SDK API areas: `CoreApi.ts` (Projects & Teams), `GitApi.ts`, `BuildApi.ts`, `PipelinesApi.ts`, and `WorkItemTrackingApi.ts`. + | Spec | Version | Operations | Description | |---|---|---|---| | [`azure_devops-latest.json`](./OpenAPIs/azure_devops-latest.json) | latest (curated) | 55 | Curated across Projects & Teams, Git, Build, Pipelines, and Work Item Tracking — see breakdown below | +| [`azure_devops-7.1.json`](./OpenAPIs/azure_devops-7.1.json) | 7.1 | 345 | Full spec covering the complete operation surface of those 5 SDK API areas | ### `azure_devops-latest.json` -Microsoft does not publish a static OpenAPI/Swagger document for Azure DevOps Services, and there is no live introspection endpoint to generate one from (it's a multi-tenant SaaS). This spec is derived directly from [`microsoft/azure-devops-node-api`](https://github.com/microsoft/azure-devops-node-api) (v17.0.1), Microsoft's own officially-maintained TypeScript client library — its interface files and API client classes define the exact request/response shapes, REST paths, HTTP methods, and API version for every operation. - Curated to 55 of the several hundred operations across the SDK's Git, Build, Pipelines, and Work Item Tracking API areas alone (the full SDK surface also covers Release, Test Plans, Wiki, Service Endpoints, Task Agent pools, Security Roles, and more, none of which are included here). Resources included, by category: @@ -80,6 +82,12 @@ Resources included, by category: - **Pipelines**: list/create/get pipelines, list/run pipeline runs, get a run - **Work Item Tracking**: create/get/update/delete work items, list work items by ID, query by WIQL, list/add comments +### `azure_devops-7.1.json` + +Full spec (345 operations) enumerating every method exposed by `CoreApi.ts`, `GitApi.ts`, `BuildApi.ts`, `PipelinesApi.ts`, and `WorkItemTrackingApi.ts` — not just the 55 curated for the Studio Project. This includes areas the curated spec omits entirely: Git annotated tags, cherry-picks, reverts, forks, and import requests; Build source providers, retention, templates, and webhooks; Work Item Tracking classification nodes, saved queries, fields, comment reactions, and work item type administration. + +The SDK resolves each operation's REST route dynamically at runtime (via a server-side locations lookup keyed by a GUID, not a static template in the client code), so paths for the operations beyond the curated 55 were reconstructed from the Azure DevOps Services REST API reference and the SDK's own route/query parameter names — the 55 curated operations are carried into this spec unchanged, already hand-verified. Request/response bodies for the rest use generic object schemas rather than fully-typed models; consult the linked SDK method for the exact shape. As with the NetScaler NITRO full spec, this is a structurally-derived operation surface, not hand-verified per operation. + ## Studio Projects ### Azure DevOps Project