Azure Devops
@adamchubbuck/azure-devopsv2026.10.28.2
01README
Full Azure DevOps API coverage: Git, pipelines, work items and more. Works with Azure DevOps Services, legacy visualstudio.com URLs and Server/on-prem.
02Behaviors
@adamchubbuck/azure-devops/corev2026.10.28.1core.ts
fn listProjects(stateFilter?: enum, limit?: number)
List all projects in the organization, following continuation tokens.
| Argument | Type | Description |
|---|---|---|
| stateFilter? | enum | Filter by project state. |
| limit? | number | Stop after this many projects. |
fn getProject(includeCapabilities?: boolean)
Get one project by name or ID, optionally with capabilities.
| Argument | Type | Description |
|---|---|---|
| includeCapabilities? | boolean |
fn createProject(name: string, description?: string, visibility?: enum, sourceControlType?: enum, processTemplateId?: string)
Queue creation of a new project. Project creation is asynchronous; the result holds the operation reference.
| Argument | Type | Description |
|---|---|---|
| name | string | New project name (e.g. 'my-project'). |
| description? | string | |
| visibility? | enum | |
| sourceControlType? | enum | |
| processTemplateId? | string | Process template ID. Defaults to the organization's default process. |
fn deleteProject(projectId: string)
DESTRUCTIVE: delete a project and all of its data. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| projectId | string | Project ID (GUID). |
fn listTeams(project?: string, mine?: boolean, limit?: number)
List teams. With a project, lists that project's teams; without, lists every team the caller can see in the organization.
| Argument | Type | Description |
|---|---|---|
| project? | string | Project name or ID. Omit to list teams across the whole organization. |
| mine? | boolean | Only teams the caller belongs to. |
| limit? | number |
fn getTeam(team: string, expandIdentity?: boolean)
Get one team by name or ID within a project.
| Argument | Type | Description |
|---|---|---|
| team | string | Team name or ID. |
| expandIdentity? | boolean |
fn listTeamMembers(team: string, limit?: number)
List the members of a team.
| Argument | Type | Description |
|---|---|---|
| team | string | Team name or ID. |
| limit? | number |
fn createTeam(name: string, description?: string)
Create a team in a project.
| Argument | Type | Description |
|---|---|---|
| name | string | Team name (e.g. 'my-team'). |
| description? | string |
fn updateTeam(team: string, name?: string, description?: string)
Rename a team or change its description.
| Argument | Type | Description |
|---|---|---|
| team | string | Current team name or ID. |
| name? | string | |
| description? | string |
fn deleteTeam(team: string)
DESTRUCTIVE: delete a team. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| team | string | Team name or ID. |
Resources
project(infinite)— A single project
projects(infinite)— List of projects
team(infinite)— A single team
teams(infinite)— List of teams or team members
result(infinite)— Outcome of a write operation
@adamchubbuck/azure-devops/gitv2026.10.28.1git.ts
fn listRepositories(includeHidden?: boolean)
List Git repositories in a project, or in the whole organization when no project is set.
| Argument | Type | Description |
|---|---|---|
| includeHidden? | boolean |
fn getRepository()
Get one repository by name or ID.
fn createRepository(name: string)
Create a new Git repository in a project.
| Argument | Type | Description |
|---|---|---|
| name | string | New repository name (e.g. 'my-repo'). |
fn updateRepository(repositoryId: string, name?: string, defaultBranch?: string, isDisabled?: boolean)
Rename a repository, change its default branch, or disable it.
| Argument | Type | Description |
|---|---|---|
| repositoryId | string | Repository ID (GUID). |
| name? | string | |
| defaultBranch? | string | e.g. 'main' or 'refs/heads/main'. |
| isDisabled? | boolean |
fn deleteRepository(repositoryId: string)
DESTRUCTIVE: delete a repository (moves it to the recycle bin). Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| repositoryId | string | Repository ID (GUID). |
fn listBranches(filter?: string)
List branches of a repository with ahead/behind stats.
| Argument | Type | Description |
|---|---|---|
| filter? | string | Only branches whose name starts with this, e.g. 'feature/'. |
fn listRefs(filter?: string)
List refs (branches, tags, ...) of a repository, optionally filtered, e.g. filter 'tags/'.
| Argument | Type | Description |
|---|---|---|
| filter? | string | Ref prefix after 'refs/'. |
fn createBranch(name: string, sourceBranch?: string, commitId?: string)
Create a branch from another branch or a commit. Fails if the branch already exists.
| Argument | Type | Description |
|---|---|---|
| name | string | New branch name, e.g. 'feature/x'. |
| sourceBranch? | string | Branch to branch from, e.g. 'main'. Ignored when commitId is set. |
| commitId? | string | Commit SHA to branch from. |
fn deleteBranch(name: string)
DESTRUCTIVE: delete a branch. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | Branch name, e.g. 'feature/x'. |
fn forceUpdateBranch(name: string, newCommitId: string)
DESTRUCTIVE: force-move a branch to a commit, discarding commits not reachable from it. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | Branch name. |
| newCommitId | string | Commit SHA the branch should point to. |
fn listCommits(branch?: string, path?: string, author?: string, fromDate?: string, toDate?: string, limit?: number)
List commits on a branch, optionally filtered by path, author or dates.
| Argument | Type | Description |
|---|---|---|
| branch? | string | Branch name, e.g. 'main'. |
| path? | string | Only commits touching this path. |
| author? | string | |
| fromDate? | string | ISO date. |
| toDate? | string | ISO date. |
| limit? | number |
fn getCommit(commitId: string, changeCount?: number)
Get one commit by SHA, optionally with change counts.
| Argument | Type | Description |
|---|---|---|
| commitId | string | |
| changeCount? | number |
fn listPushes(branch?: string, limit?: number)
List pushes to a repository, optionally for one branch.
| Argument | Type | Description |
|---|---|---|
| branch? | string | |
| limit? | number |
fn getPush(pushId: number)
Get one push by ID, including its commits.
| Argument | Type | Description |
|---|---|---|
| pushId | number |
fn createPush(branch: string, message: string, changes: array)
Push one commit that adds, edits or deletes files on a branch. Creates the branch when it does not exist. Never force-pushes: fails if the branch moved.
| Argument | Type | Description |
|---|---|---|
| branch | string | Target branch, e.g. 'feature/x'. |
| message | string | Commit message. |
| changes | array |
fn listPullRequests(repository?: string, status?: enum, sourceBranch?: string, targetBranch?: string, creatorId?: string, reviewerId?: string, limit?: number)
List pull requests in a repository (or the whole project when no repository is given).
| Argument | Type | Description |
|---|---|---|
| repository? | string | |
| status? | enum | |
| sourceBranch? | string | |
| targetBranch? | string | |
| creatorId? | string | |
| reviewerId? | string | |
| limit? | number |
fn getPullRequest(repository?: string)
Get one pull request by ID.
| Argument | Type | Description |
|---|---|---|
| repository? | string | Optional; the ID alone is enough within a project. |
fn createPullRequest(sourceBranch: string, targetBranch: string, title: string, description?: string, isDraft?: boolean, reviewerIds?: array, labels?: array, workItemIds?: array)
Create a pull request, e.g. from 'feature/x' into 'main'. Reuses nothing: fails if an active PR for the same branches exists.
| Argument | Type | Description |
|---|---|---|
| sourceBranch | string | e.g. 'feature/x' |
| targetBranch | string | e.g. 'main' |
| title | string | |
| description? | string | |
| isDraft? | boolean | |
| reviewerIds? | array | Identity IDs of reviewers to add. |
| labels? | array | |
| workItemIds? | array | Work items to link. |
fn updatePullRequest(title?: string, description?: string, targetBranch?: string, isDraft?: boolean)
Update a pull request's title, description, target branch or draft state. Does not abandon or complete it.
| Argument | Type | Description |
|---|---|---|
| title? | string | |
| description? | string | |
| targetBranch? | string | |
| isDraft? | boolean |
fn abandonPullRequest()
DESTRUCTIVE: abandon (close without merging) a pull request. Requires confirm: true.
fn completePullRequest(mergeStrategy?: enum, deleteSourceBranch?: boolean, mergeCommitMessage?: string)
DESTRUCTIVE: complete (merge) a pull request using its current source commit. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| mergeStrategy? | enum | |
| deleteSourceBranch? | boolean | |
| mergeCommitMessage? | string |
fn listThreads()
List comment threads on a pull request.
fn createThread(content: string, status?: enum, filePath?: string, line?: number)
Start a comment thread on a pull request, general or anchored to a file line.
| Argument | Type | Description |
|---|---|---|
| content | string | Markdown comment text. |
| status? | enum | |
| filePath? | string | e.g. '/src/app.ts'. |
| line? | number | Line in the right (new) side of the file; requires filePath. |
fn replyToThread(threadId: number, content: string, parentCommentId?: number)
Add a reply comment to an existing pull request thread.
| Argument | Type | Description |
|---|---|---|
| threadId | number | |
| content | string | |
| parentCommentId? | number |
fn updateThreadStatus(threadId: number, status: enum)
Set a pull request thread's status, e.g. resolve it as 'fixed'.
| Argument | Type | Description |
|---|---|---|
| threadId | number | |
| status | enum |
fn listReviewers()
List reviewers of a pull request with their votes.
fn addReviewer(reviewerId: string, isRequired?: boolean)
Add a reviewer (user or group identity ID) to a pull request.
| Argument | Type | Description |
|---|---|---|
| reviewerId | string | Identity ID (GUID). |
| isRequired? | boolean |
fn setVote(vote: enum, reviewerId?: string)
Cast a vote on a pull request as the authenticated identity (or another reviewer ID).
| Argument | Type | Description |
|---|---|---|
| vote | enum | |
| reviewerId? | string | Defaults to the identity that owns the token. |
fn removeReviewer(reviewerId: string)
DESTRUCTIVE: remove a reviewer from a pull request. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| reviewerId | string |
fn listPolicyConfigurations(repositoryId?: string, branch?: string)
List branch policy configurations in a project, optionally for one repository and branch.
| Argument | Type | Description |
|---|---|---|
| repositoryId? | string | Repository ID (GUID). |
| branch? | string | e.g. 'main'. Requires repositoryId. |
fn listPolicyEvaluations()
List branch policy evaluations (build, reviewers, comments...) for a pull request.
@adamchubbuck/azure-devops/buildv2026.10.28.1build.ts
fn listDefinitions(name?: string, path?: string)
List build definitions, optionally filtered by name or folder path.
| Argument | Type | Description |
|---|---|---|
| name? | string | Name filter; '*' wildcards allowed. |
| path? | string | Folder path, e.g. '\\\\my-folder'. |
fn getDefinition(definitionId: number, revision?: number)
Get one build definition, including its process and triggers.
| Argument | Type | Description |
|---|---|---|
| definitionId | number | |
| revision? | number |
fn deleteDefinition(definitionId: number)
DESTRUCTIVE: delete a build definition and its builds. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| definitionId | number |
fn listBuilds(definitionIds?: array, branch?: string, statusFilter?: enum, resultFilter?: enum)
List builds, filtered by definition, branch, status or result.
| Argument | Type | Description |
|---|---|---|
| definitionIds? | array | |
| branch? | string | e.g. 'main'. |
| statusFilter? | enum | |
| resultFilter? | enum |
fn getBuild()
Get one build by ID.
fn queueBuild(definitionId: number, branch?: string, parameters?: record)
DESTRUCTIVE (starts work and may deploy): queue a new build of a definition. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| definitionId | number | |
| branch? | string | e.g. 'main'. Defaults to the definition's default branch. |
| parameters? | record | Queue-time variables. |
fn cancelBuild()
DESTRUCTIVE: cancel a running build. Requires confirm: true.
fn listLogs()
List the log files of a build.
fn getLog(logId: number, startLine?: number, endLine?: number)
Download one build log as a text file (optionally a line range).
| Argument | Type | Description |
|---|---|---|
| logId | number | |
| startLine? | number | |
| endLine? | number |
fn listArtifacts()
List artifacts published by a build.
Files
log(text/plain)— Plain text build log
@adamchubbuck/azure-devops/pipelinesv2026.10.28.1pipelines.ts
fn listPipelines(orderBy?: string, limit?: number)
List YAML and classic pipelines in a project.
| Argument | Type | Description |
|---|---|---|
| orderBy? | string | e.g. 'name asc'. |
| limit? | number |
fn getPipeline(pipelineVersion?: number)
Get one pipeline by ID.
| Argument | Type | Description |
|---|---|---|
| pipelineVersion? | number |
fn listRuns()
List runs of a pipeline, newest first.
fn getRun()
Get one pipeline run with its state, result and resources.
fn runPipeline(branch?: string, templateParameters?: record, variables?: record)
DESTRUCTIVE (starts work and may deploy): queue a new run of a pipeline. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| branch? | string | e.g. 'main'. |
| templateParameters? | record | |
| variables? | record |
fn listRunLogs()
List log files of a pipeline run, with signed download URLs.
@adamchubbuck/azure-devops/workitemsv2026.10.28.1workitems.ts
fn getWorkItem(asOf?: string)
Get one work item by ID.
| Argument | Type | Description |
|---|---|---|
| asOf? | string | ISO date for a historic view. |
fn getWorkItems(ids: array)
Get many work items by ID. IDs are fetched in chunks of 200 (the API limit).
| Argument | Type | Description |
|---|---|---|
| ids | array |
fn createWorkItem(type: string, fields: record, validateOnly?: boolean, bypassRules?: boolean, suppressNotifications?: boolean)
Create a work item of the given type (e.g. 'Bug', 'User Story') from a field record.
| Argument | Type | Description |
|---|---|---|
| type | string | Work item type name. |
| fields | record | Field reference name -> value, e.g. {'System.Title': 'Fix it'}. |
| validateOnly? | boolean | |
| bypassRules? | boolean | |
| suppressNotifications? | boolean |
fn updateWorkItem(operations: array, validateOnly?: boolean, bypassRules?: boolean, suppressNotifications?: boolean)
Update a work item with JSON Patch operations (add/replace/remove/test).
| Argument | Type | Description |
|---|---|---|
| operations | array | |
| validateOnly? | boolean | |
| bypassRules? | boolean | |
| suppressNotifications? | boolean |
fn deleteWorkItem(destroy?: boolean)
DESTRUCTIVE: delete a work item (recycle bin) or permanently destroy it with destroy: true. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| destroy? | boolean | Permanently destroy instead of moving to the recycle bin. |
fn runWiql(query: string, top?: number, hydrate?: boolean)
Run a WIQL query (read-only). Returns ids; set hydrate: true to also fetch the work items (in chunks of 200).
| Argument | Type | Description |
|---|---|---|
| query | string | WIQL, e.g. 'SELECT [System.Id] ... |
| top? | number | Maximum rows (server default limit is 20000). |
| hydrate? | boolean |
fn getQuery(queryIdOrPath: string, depth?: number, expand?: enum)
Get a saved query or folder by ID or path.
| Argument | Type | Description |
|---|---|---|
| queryIdOrPath | string | Query GUID or path, e.g. 'Shared Queries/My Query'. |
| depth? | number | |
| expand? | enum |
fn listQueries(depth?: number, expand?: enum, includeDeleted?: boolean)
List the saved query and folder tree (My/Shared Queries).
| Argument | Type | Description |
|---|---|---|
| depth? | number | |
| expand? | enum | |
| includeDeleted? | boolean |
fn listWorkItemTypes()
List work item types of a project.
fn getWorkItemType(type: string)
Get one work item type (states, fields, transitions).
| Argument | Type | Description |
|---|---|---|
| type | string | e.g. 'Bug'. |
fn listFields(expand?: enum)
List work item fields (project-scoped when a project is set).
| Argument | Type | Description |
|---|---|---|
| expand? | enum |
fn listComments(top?: number, order?: enum, includeDeleted?: boolean)
List comments of a work item (7.2-preview.4).
| Argument | Type | Description |
|---|---|---|
| top? | number | |
| order? | enum | |
| includeDeleted? | boolean |
fn addComment(text: string)
Add a comment to a work item (7.2-preview.4).
| Argument | Type | Description |
|---|---|---|
| text | string | Comment text (HTML allowed). |
fn listRevisions(top?: number, skip?: number)
List the revisions (full snapshots) of a work item.
| Argument | Type | Description |
|---|---|---|
| top? | number | |
| skip? | number |
fn listUpdates(top?: number, skip?: number)
List the field-level updates (deltas) of a work item.
| Argument | Type | Description |
|---|---|---|
| top? | number | |
| skip? | number |
fn addLink(rel: string, targetId?: number, url?: string, comment?: string)
Add a relation to a work item, e.g. rel 'System.LinkTypes.Hierarchy-Reverse' (parent) with the target work item ID or a full URL.
| Argument | Type | Description |
|---|---|---|
| rel | string | Link type reference name. |
| targetId? | number | Target work item ID (the URL is built for you). |
| url? | string | Explicit target URL (PRs, commits, hyperlinks). Overrides targetId. |
| comment? | string |
fn removeLink(targetId?: number, url?: string, rel?: string)
DESTRUCTIVE: remove a relation from a work item, matched by its URL (or target work item ID) and optional rel. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| targetId? | number | |
| url? | string | |
| rel? | string | Restrict the match to this link type. |
fn listAreas(depth?: number)
Get the area path tree of a project.
| Argument | Type | Description |
|---|---|---|
| depth? | number |
fn listIterations(depth?: number)
Get the iteration path tree of a project.
| Argument | Type | Description |
|---|---|---|
| depth? | number |
fn listTags()
List work item tags used in a project.
@adamchubbuck/azure-devops/testv2026.10.28.1test.ts
fn listTestPlans(owner?: string, filterActivePlans?: boolean, includePlanDetails?: boolean)
List test plans of a project.
| Argument | Type | Description |
|---|---|---|
| owner? | string | Filter by owner. |
| filterActivePlans? | boolean | |
| includePlanDetails? | boolean |
fn getTestPlan()
Get one test plan by ID.
fn listTestSuites(expand?: enum, asTreeView?: boolean)
List the test suites of a test plan.
| Argument | Type | Description |
|---|---|---|
| expand? | enum | |
| asTreeView? | boolean |
fn listTestCases(witFields?: array)
List the test cases in a suite of a test plan.
| Argument | Type | Description |
|---|---|---|
| witFields? | array | Work item fields to include, e.g. ['System.Title']. |
fn listTestPoints(testCaseId?: string, includePointDetails?: boolean)
List the test points (case x configuration) of a suite.
| Argument | Type | Description |
|---|---|---|
| testCaseId? | string | Filter by test case ID. |
| includePointDetails? | boolean |
fn listTestRuns(planId?: number, buildUri?: string, automated?: boolean, includeRunDetails?: boolean)
List test runs, optionally filtered by plan or build.
| Argument | Type | Description |
|---|---|---|
| planId? | number | |
| buildUri? | string | e.g. 'vstfs:///Build/Build/123'. |
| automated? | boolean | |
| includeRunDetails? | boolean |
fn getTestRun(includeDetails?: boolean)
Get one test run with its statistics.
| Argument | Type | Description |
|---|---|---|
| includeDetails? | boolean |
fn createTestRun(name: string, planId?: number, pointIds?: array, automated?: boolean, buildId?: number, state?: enum, comment?: string)
Create a test run record (planned or automated) to which results can be posted. Does not execute any tests.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| planId? | number | |
| pointIds? | array | Test point IDs to include (planned runs). |
| automated? | boolean | |
| buildId? | number | |
| state? | enum | |
| comment? | string |
fn listTestResults(outcomes?: array, detailsToInclude?: enum)
List the results of a test run.
| Argument | Type | Description |
|---|---|---|
| outcomes? | array | e.g. ['Failed','Aborted']. |
| detailsToInclude? | enum |
fn getTestResult(resultId: number, detailsToInclude?: enum)
Get one test result of a run.
| Argument | Type | Description |
|---|---|---|
| resultId | number | |
| detailsToInclude? | enum |
fn updateTestResults(results: array)
Update (e.g. set outcome/state of) existing test results in a run. Each entry must include the result 'id'.
| Argument | Type | Description |
|---|---|---|
| results | array | e.g. [{id: 100000, outcome: 'Passed', state: 'Completed'}]. |
fn getCodeCoverageSummary(deltaBuildId?: number)
Get the code coverage summary of a build (preview API).
| Argument | Type | Description |
|---|---|---|
| deltaBuildId? | number | Compare against this build. |
fn listTestResultsByBuild(publishContext?: string, outcomes?: array)
List test results of a build (preview API).
| Argument | Type | Description |
|---|---|---|
| publishContext? | string | e.g. 'CI' or 'PR'. |
| outcomes? | array |
@adamchubbuck/azure-devops/releasev2026.10.28.1release.ts
fn listDefinitions(searchText?: string, path?: string, expand?: string, limit?: number)
List classic release definitions in a project.
| Argument | Type | Description |
|---|---|---|
| searchText? | string | |
| path? | string | Folder path, e.g. '\\\\'. |
| expand? | string | e.g. 'environments,artifacts,triggers'. |
| limit? | number |
fn getDefinition()
Get one release definition, including its stages.
fn getReleaseDefinitionHistory()
List the revision history of a release definition.
fn listReleases(definitionId?: number, definitionEnvironmentId?: number, statusFilter?: enum, environmentStatusFilter?: number, createdBy?: string, minCreatedTime?: string, maxCreatedTime?: string, queryOrder?: enum, searchText?: string, sourceBranchFilter?: string, expand?: string, top?: number, nextPageToken?: string)
List one page of releases with filters. Pass the returned nextPageToken back as nextPageToken to fetch the next page.
| Argument | Type | Description |
|---|---|---|
| definitionId? | number | |
| definitionEnvironmentId? | number | |
| statusFilter? | enum | |
| environmentStatusFilter? | number | |
| createdBy? | string | |
| minCreatedTime? | string | ISO 8601 date-time. |
| maxCreatedTime? | string | ISO 8601 date-time. |
| queryOrder? | enum | |
| searchText? | string | |
| sourceBranchFilter? | string | |
| expand? | string | e.g. 'environments,artifacts'. |
| top? | number | |
| nextPageToken? | string | Cursor returned as nextPageToken by a previous call. |
fn getRelease(expand?: string)
Get one release with its environments and artifacts.
| Argument | Type | Description |
|---|---|---|
| expand? | string | e.g. 'tags'. |
fn createRelease(description?: string, artifacts?: array, manualEnvironments?: array, isDraft?: boolean)
DESTRUCTIVE (may trigger automatic deployments): create a release from a definition. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| description? | string | |
| artifacts? | array | Artifact versions to pin. |
| manualEnvironments? | array | Stage names that must start manually instead of automatically. |
| isDraft? | boolean |
fn updateReleaseEnvironment(status: enum, comment?: string, scheduledDeploymentTime?: string, variables?: record)
DESTRUCTIVE (can start, cancel or reject a deployment): update the status of a release environment. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| status | enum | |
| comment? | string | |
| scheduledDeploymentTime? | string | ISO 8601 date-time; used with status 'scheduled'. |
| variables? | record | Variable overrides for this deployment. |
fn startDeployment(comment?: string, variables?: record)
DESTRUCTIVE (deploys): start deployment of a release environment (status inProgress). Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| comment? | string | |
| variables? | record |
fn listApprovals(statusFilter?: enum, assignedToFilter?: string, releaseIdsFilter?: array, typeFilter?: enum, limit?: number)
List release approvals, e.g. pending ones for a release.
| Argument | Type | Description |
|---|---|---|
| statusFilter? | enum | |
| assignedToFilter? | string | Display name or unique name of the approver. |
| releaseIdsFilter? | array | |
| typeFilter? | enum | |
| limit? | number |
fn updateApproval(approvalId: number, decision: enum, comment?: string)
DESTRUCTIVE (approving lets a deployment proceed): approve or reject a release approval with a comment. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| approvalId | number | |
| decision | enum | |
| comment? | string |
fn getReleaseLog(releasePhaseId: number, taskId: number, startLine?: number, endLine?: number)
Get the log text of one task in a release environment.
| Argument | Type | Description |
|---|---|---|
| releasePhaseId | number | Deploy phase ID (releaseDeployPhases[].id). |
| taskId | number | Task ID (deploymentJobs[].tasks[].id). |
| startLine? | number | |
| endLine? | number |
fn listDeployments(definitionId?: number, definitionEnvironmentId?: number, deploymentStatus?: enum, operationStatus?: string, minStartedTime?: string, maxStartedTime?: string, limit?: number)
List deployments, optionally for one definition or stage.
| Argument | Type | Description |
|---|---|---|
| definitionId? | number | |
| definitionEnvironmentId? | number | |
| deploymentStatus? | enum | |
| operationStatus? | string | e.g. 'QueuedForAgent', 'Approved'. |
| minStartedTime? | string | ISO 8601 date-time. |
| maxStartedTime? | string | ISO 8601 date-time. |
| limit? | number |
fn abandonRelease(comment?: string)
DESTRUCTIVE: abandon a release so it can no longer be deployed. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| comment? | string |
fn deleteDefinition(comment?: string, forceDelete?: boolean)
DESTRUCTIVE: permanently delete a release definition. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| comment? | string | |
| forceDelete? | boolean | Also delete when releases still exist. |
@adamchubbuck/azure-devops/artifactsv2026.10.28.1artifacts.ts
fn listFeeds(feedRole?: enum, includeDeletedUpstreams?: boolean)
List Azure Artifacts feeds visible to the caller.
| Argument | Type | Description |
|---|---|---|
| feedRole? | enum | |
| includeDeletedUpstreams? | boolean |
fn getFeed()
Get one feed by name or ID.
fn createFeed(name: string, description?: string, upstreamEnabled?: boolean, hideDeletedPackageVersions?: boolean)
DESTRUCTIVE (creates a shared resource): create a feed. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| description? | string | |
| upstreamEnabled? | boolean | Enable upstream sources (public registries). |
| hideDeletedPackageVersions? | boolean |
fn deleteFeed()
DESTRUCTIVE: delete a feed and all packages in it. Requires confirm: true.
fn listPackages(protocolType?: string, packageNameQuery?: string, includeAllVersions?: boolean, includeDeleted?: boolean, view?: string, limit?: number)
List packages in a feed with optional filters.
| Argument | Type | Description |
|---|---|---|
| protocolType? | string | e.g. 'NuGet', 'Npm', 'Maven', 'PyPI', 'UPack'. |
| packageNameQuery? | string | Substring of the package name. |
| includeAllVersions? | boolean | |
| includeDeleted? | boolean | |
| view? | string | Feed view name or ID, e.g. 'Release'. |
| limit? | number |
fn getPackage(packageId: string, includeAllVersions?: boolean)
Get one package (by package ID) from a feed.
| Argument | Type | Description |
|---|---|---|
| packageId | string | Package ID (GUID) from listPackages. |
| includeAllVersions? | boolean |
fn listPackageVersions(packageId: string, includeUrls?: boolean, isListed?: boolean, isDeleted?: boolean)
List versions of a package.
| Argument | Type | Description |
|---|---|---|
| packageId | string | |
| includeUrls? | boolean | |
| isListed? | boolean | |
| isDeleted? | boolean |
fn getPackageVersion(packageId: string, packageVersionId: string, showDeleted?: boolean)
Get one version of a package (by version ID).
| Argument | Type | Description |
|---|---|---|
| packageId | string | |
| packageVersionId | string | Version ID (GUID) from listPackageVersions. |
| showDeleted? | boolean |
fn deletePackageVersion(packageName: string, version: string)
DESTRUCTIVE: move a package version to the feed recycle bin. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| packageName | string | Package name; for maven use 'groupId:artifactId'; for npm scoped use '@scope/name'. |
| version | string |
fn promotePackageVersion(packageName: string, version: string, view: string, op?: enum)
DESTRUCTIVE (changes what consumers of a view receive): add or remove a package version in a feed view such as 'Release'. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| packageName | string | |
| version | string | |
| view | string | View name or ID, e.g. 'Release'. |
| op? | enum |
fn listFeedViews()
List the views of a feed (e.g. Local, Prerelease, Release).
fn listFeedPermissions(includeIds?: boolean, excludeInheritedPermissions?: boolean, identityDescriptor?: string)
List the permissions (role assignments) of a feed.
| Argument | Type | Description |
|---|---|---|
| includeIds? | boolean | |
| excludeInheritedPermissions? | boolean | |
| identityDescriptor? | string |
fn getRetentionPolicy()
Get the retention policy of a feed.
fn listBuildArtifacts()
List the artifacts published by a build (normal host).
fn getBuildArtifact(artifactName: string)
Get one named artifact of a build, with its download URL.
| Argument | Type | Description |
|---|---|---|
| artifactName | string |
@adamchubbuck/azure-devops/graphv2026.10.28.1graph.ts
fn listUsers(subjectTypes?: string, scopeDescriptor?: string)
List users in the organization (Graph, preview).
| Argument | Type | Description |
|---|---|---|
| subjectTypes? | string | Comma-separated, e.g. 'aad,msa,vsts'. |
| scopeDescriptor? | string |
fn getUser()
Get one user by descriptor.
fn listGroups(scopeDescriptor?: string, subjectTypes?: string)
List groups in the organization or a scope.
| Argument | Type | Description |
|---|---|---|
| scopeDescriptor? | string | Restrict to a project scope descriptor. |
| subjectTypes? | string |
fn getGroup()
Get one group by descriptor.
fn createGroup(displayName: string, description?: string, scopeDescriptor?: string, groupDescriptors?: array)
DESTRUCTIVE (changes access control): create a VSTS group, optionally scoped to a project. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| displayName | string | |
| description? | string | |
| scopeDescriptor? | string | Project scope descriptor; omit for an organization-level group. |
| groupDescriptors? | array | Parent groups the new group should join. |
fn deleteGroup()
DESTRUCTIVE: delete a VSTS group by descriptor. Requires confirm: true.
fn listMemberships(direction?: enum, depth?: number)
List memberships of a subject: containers it belongs to (up) or members it contains (down).
| Argument | Type | Description |
|---|---|---|
| direction? | enum | |
| depth? | number |
fn addMembership()
DESTRUCTIVE (grants access): add a subject to a container group. Requires confirm: true.
fn removeMembership()
DESTRUCTIVE (revokes access): remove a subject from a container group. Requires confirm: true.
fn getDescriptor(storageKey: string)
Resolve a storage key (GUID) to its Graph descriptor.
| Argument | Type | Description |
|---|---|---|
| storageKey | string | Storage key GUID. |
fn listDescriptors(storageKeys: array)
Resolve several storage keys to descriptors (one call per key, results merged).
| Argument | Type | Description |
|---|---|---|
| storageKeys | array |
fn getStorageKey()
Resolve a Graph descriptor to its storage key (GUID).
fn lookupSubjects(descriptors: array)
Look up multiple subjects by descriptor in one call.
| Argument | Type | Description |
|---|---|---|
| descriptors | array |
fn searchIdentities(searchFilter?: enum, filterValue: string, queryMembership?: enum)
Search identities (users/groups) by display name, account name or mail address.
| Argument | Type | Description |
|---|---|---|
| searchFilter? | enum | |
| filterValue | string | |
| queryMembership? | enum |
@adamchubbuck/azure-devops/securityv2026.10.28.1security.ts
fn listSecurityNamespaces(localOnly?: boolean)
List security namespaces, their actions and bit values.
| Argument | Type | Description |
|---|---|---|
| localOnly? | boolean |
fn getSecurityNamespace()
Get one security namespace (including its actions).
fn listAccessControlLists(descriptors?: string, includeExtendedInfo?: boolean, recurse?: boolean)
List access control lists in a namespace.
| Argument | Type | Description |
|---|---|---|
| descriptors? | string | Comma-separated identity descriptors to filter by. |
| includeExtendedInfo? | boolean | |
| recurse? | boolean |
fn queryAccessControlEntries(descriptors?: string, includeExtendedInfo?: boolean)
Query the access control entries (ACEs) on one token, flattened from its ACL.
| Argument | Type | Description |
|---|---|---|
| descriptors? | string | |
| includeExtendedInfo? | boolean |
fn setAccessControlEntries(merge?: boolean, accessControlEntries: array)
DESTRUCTIVE (changes permissions): add or replace ACEs on a token. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| merge? | boolean | Merge bits into existing ACEs (true) or replace them (false). |
| accessControlEntries | array |
fn removeAccessControlEntries(descriptors: array)
DESTRUCTIVE (revokes permissions): remove the ACEs of given identities from a token. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| descriptors | array |
fn hasPermissions(permissions: number, tokens?: array, alwaysAllowAdministrators?: boolean, descriptor?: string)
Check whether the caller (or given identity) has a permission bitmask on tokens in a namespace.
| Argument | Type | Description |
|---|---|---|
| permissions | number | Permission bitmask to check (use 0 to omit). |
| tokens? | array | |
| alwaysAllowAdministrators? | boolean | |
| descriptor? | string | Check for this identity instead of the caller. |
@adamchubbuck/azure-devops/wikiv2026.10.28.1wiki.ts
fn listWikis()
List wikis in a project (or the whole organization).
fn getWiki()
Get one wiki by ID or name.
fn createWiki(name: string, type?: enum, projectId?: string, repositoryId?: string, mappedPath?: string, version?: string)
DESTRUCTIVE (creates a wiki): create a project wiki or publish a code wiki from a repository folder. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| type? | enum | |
| projectId? | string | Project ID (GUID); required by the API for both wiki types. |
| repositoryId? | string | Required for codeWiki. |
| mappedPath? | string | Repo folder published as the wiki (codeWiki). |
| version? | string | Branch to publish (codeWiki), e.g. 'main'. |
fn deleteWiki()
DESTRUCTIVE: delete a wiki (and its content for project wikis). Requires confirm: true.
fn listPages(pageViewsForDays?: number, limit?: number)
List pages of a wiki (batch API; page metadata only).
| Argument | Type | Description |
|---|---|---|
| pageViewsForDays? | number | |
| limit? | number |
fn getPage(includeContent?: boolean, recursionLevel?: enum)
Get a wiki page by path, optionally with its content.
| Argument | Type | Description |
|---|---|---|
| includeContent? | boolean | |
| recursionLevel? | enum |
fn getPageById(includeContent?: boolean)
Get a wiki page by numeric ID, optionally with content.
| Argument | Type | Description |
|---|---|---|
| includeContent? | boolean |
fn createOrUpdatePage(content: string, comment?: string, etag?: string)
DESTRUCTIVE (writes content): create a page, or update an existing one by supplying its current ETag (sent as If-Match). Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| content | string | Markdown content of the page. |
| comment? | string | Edit comment. |
| etag? | string | Current ETag of the page; required to update an existing page, omit to create. |
fn deletePage(comment?: string)
DESTRUCTIVE: delete a wiki page (and its subpages) by path. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| comment? | string |
fn getPageStats(pageViewsForDays?: number)
Get view statistics of a wiki page.
| Argument | Type | Description |
|---|---|---|
| pageViewsForDays? | number |
@adamchubbuck/azure-devops/dashboardsv2026.10.28.1dashboards.ts
fn listDashboards()
List dashboards of a team.
fn getDashboard()
Get a dashboard with its widgets.
fn createDashboard(name: string, description?: string, refreshInterval?: number, widgets?: array)
DESTRUCTIVE (creates content): create a dashboard for a team. Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| description? | string | |
| refreshInterval? | number | Auto-refresh interval in minutes (0 = off). |
| widgets? | array |
fn updateDashboard(name: string, description?: string, refreshInterval?: number, widgets?: array)
DESTRUCTIVE (replaces content): replace a dashboard definition (name, description, widgets). Requires confirm: true.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| description? | string | |
| refreshInterval? | number | |
| widgets? | array |
fn deleteDashboard()
DESTRUCTIVE: delete a dashboard. Requires confirm: true.
fn listWidgets()
List widgets on a dashboard.
fn getWidget()
Get one widget on a dashboard.
fn addWidget()
DESTRUCTIVE (modifies dashboard): add a widget to a dashboard. Requires confirm: true.
fn updateWidget()
DESTRUCTIVE (modifies dashboard): replace a widget definition. Requires confirm: true.
fn deleteWidget()
DESTRUCTIVE: delete a widget from a dashboard. Requires confirm: true.
fn listWidgetTypes(scope?: enum)
List widget types available in the project.
| Argument | Type | Description |
|---|---|---|
| scope? | enum |
@adamchubbuck/azure-devops/servicehooksv2026.10.28.1servicehooks.ts
fn listPublishers()
List service hook publishers (event sources).
fn listConsumers()
List service hook consumers (targets).
fn getConsumer(consumerId: string)
Get one consumer and its input descriptors.
| Argument | Type | Description |
|---|---|---|
| consumerId | string |
fn listConsumerActions(consumerId: string)
List the actions of a consumer.
| Argument | Type | Description |
|---|---|---|
| consumerId | string |
fn listEventTypes(publisherId: string)
List the event types of a publisher.
| Argument | Type | Description |
|---|---|---|
| publisherId | string | e.g. 'tfs'. |
fn listSubscriptions(publisherId?: string, eventType?: string, consumerId?: string, consumerActionId?: string)
List subscriptions, optionally filtered.
| Argument | Type | Description |
|---|---|---|
| publisherId? | string | |
| eventType? | string | |
| consumerId? | string | |
| consumerActionId? | string |
fn getSubscription()
Get one subscription.
fn createSubscription()
DESTRUCTIVE (starts sending events to an external target): create a subscription. Secret consumer inputs go in secretConsumerInputs. Requires confirm: true.
fn replaceSubscription()
DESTRUCTIVE: replace an existing subscription definition. Requires confirm: true.
fn deleteSubscription()
DESTRUCTIVE: delete a subscription. Requires confirm: true.
fn testSubscription()
DESTRUCTIVE (sends a test event to the external target): send a test notification for an existing subscription. Requires confirm: true.
fn listNotifications(status?: string, result?: string, maxResults?: number)
List delivery notifications of a subscription.
| Argument | Type | Description |
|---|---|---|
| status? | string | e.g. 'failed', 'processing', 'queued', 'completed'. |
| result? | string | e.g. 'succeeded', 'failed', 'pending'. |
| maxResults? | number |
fn getNotification(notificationId: number)
Get one notification, including request/response details.
| Argument | Type | Description |
|---|---|---|
| notificationId | number |
fn queryNotifications(subscriptionIds?: array, status?: string, result?: string, publisherId?: string, eventType?: string, minCreatedDate?: string, maxCreatedDate?: string, maxResults?: number)
Query notifications across subscriptions by filter.
| Argument | Type | Description |
|---|---|---|
| subscriptionIds? | array | |
| status? | string | |
| result? | string | |
| publisherId? | string | |
| eventType? | string | |
| minCreatedDate? | string | ISO 8601. |
| maxCreatedDate? | string | ISO 8601. |
| maxResults? | number |
03Previous Versions
2026.10.28.1MIT
04Stats
A
100 / 100
Downloads
0
Archive size
78.8 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
05Platforms
06Labels