azure-devops-rest-api Questions

9

Building CI pipeline for .Net core APIs in VSTS. But while building getting the below error. Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\1\s\$(buildStagingDirect...

3

While calling a REST API for Azure DevOps I am getting an error 203 Non-Authoritative Information. Actually I want to trigger a release pipeline line with the help of REST API.
Gustafson asked 22/11, 2019 at 9:51

4

Solved

Does Azure DevOps REST API has swagger url? I would like to be able to generate wrapper code in C# or Powershell around it, but cannot find it.
Wilscam asked 3/10, 2019 at 21:52

5

I am trying to connect Azure DevOps using below code in asp.net core(2.1) mvc app Uri orgUrl = new Uri("https://dev.azure.com/xxxxx/"); String personalAccessToken = "xxxxx"; VssConnection connec...
Tafilelt asked 3/9, 2019 at 7:25

2

I am looking to get the contents of a file I pushed as an artifact to Azure DevOps I was able to get a json response with a URL to the artifact zip by using this API https://dev.azure.com/uifabri...

3

I was getting the following errors while creating a pull-request using azuredevops golang API error: TF401398: The pull request cannot be activated because the source and/or the target branch no lo...
Fado asked 8/9, 2021 at 5:25

2

Can't believe I'm stuck with a LOGIN :( hate when this happens. Can somebody enlight me how to connect TF.EXE by using PAT password or in the best case an OAuth token? I might add that I already ...
Sullins asked 17/4, 2018 at 0:23

9

Solved

It's possible to generate a link to raw content of the file in GitHub, is it possible to do with VSTS/DevOps?
Cushat asked 10/1, 2019 at 22:46

2

Solved

I need to create an organizational feed to host nuget packages shared among projects on our Azure DevOps environment. After several unsuccesful attempts and research, I discovered that the only wa...
Playground asked 18/2, 2020 at 14:49

3

Solved

I have to use this API : PATCH https://vsaex.dev.azure.com/{organisation}/_apis/userentitlements/{userId} to give read access to some projects to all users in my organisation. I am able to call thi...

5

Solved

I have installed the vsts-npm-auth package using following command: npm install -g vsts-npm-auth --registry https://registry.npmjs.com And I ran vsts-npm-auth -config .npmrc command to set the c...
Lail asked 8/5, 2017 at 5:47

4

Solved

I have number of projects in Azure DevOps. I want to able to iterate through all Repos in Azure DevOps and get the name of the Repo, Creator of Repo and Last Updated/commit. And get a notification ...
Bonanno asked 14/9, 2020 at 15:40

4

Solved

I'm using Azure devops API to create a notification bot with AWS Lambda node.js. At this moment i need to check if each task work item is attached to a parent user story. The first step will be to ...
Riven asked 21/7, 2020 at 18:48

2

Solved

I'm trying to use this Azure DevOps API call: GET https://dev.azure.com/{organization}/_apis/projects/{projectId}?api-version=5.1 Documented here, to retrieve the name of a project when I have i...
Polyamide asked 17/3, 2020 at 18:6

2

Solved

I'm trying to create new build pipeline through programmatically. I'm looking for Azure DevOps REST API for this action. I didn't get the proper examples for creating the pipeline using REST API. ...
Afebrile asked 22/1, 2020 at 6:33

2

Solved

From the Azure-DevOps Rest API documentation https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1 there is no clear way to query for the Jobs running on a specific Ag...
Rowland asked 2/7, 2019 at 9:31

1

I'm trying to use the Azure Powershell 7 commandlet to get the latest version of the Canonical UbuntuServer 18.04-LTS. Here is an example of my query: >> Get-AzVMImage -Location "eastus&...
Remarkable asked 13/10, 2021 at 17:41

4

Solved

I want to automate the queue-ing of Azure Pipelines with an API call, get information on the pipeline/build/job status, Azure Pipelines docs only mention "API" for the "Invoke HTTP Rest API" task...
Indecisive asked 11/12, 2018 at 14:45

5

Solved

I would like to start a Azure Pipelines build through the REST API. There is an API for queuing builds but I couldn't find a way to define variables.
Matthews asked 17/12, 2015 at 19:49

3

Solved

When I'm trying to create a new work item in VSTS with the POST request: https://galilinetsky.visualstudio.com/Automatiom/_apis/wit/workitems/$Test%20Case?api-version=5.0-preview.2 I get the nex...
Arlaarlan asked 19/8, 2018 at 1:1

4

Solved

I am writing a BASH script, where its creating an azure repo and then pushing code. post this step it will go-ahead and create an azure pipeline via azure-pipeline.yaml file present in the Azure re...

2

Solved

is there a way to browse ".attachments" folder from the Azure DevOps wiki page? I insert images, later want to check folder content but not find a way to do it.
Glasscock asked 17/6, 2020 at 9:40

1

Solved

The Azure Devops pipeline is already defined with multiple repos and working as expected from Azure DevOps Tool, this Tool allows to change the branch names while triggering the build. I am working...
Presentiment asked 22/4, 2022 at 22:2

2

Solved

I am able to update the variable in the build pipeline using the below json body $body = ' { "definition": { "id": 25 }, "parameters": "{\"var\":\"value\"}" } ' The same json is not worki...

1

Solved

I have some (Playwright) automated tests that run in Azure DevOps via a YAML pipeline. I have enabled the trace feature of Playwright so each test produces a zip file containing the trace. My goal ...
Thoroughwort asked 14/3, 2022 at 18:29

© 2022 - 2024 — McMap. All rights reserved.