This repository was archived by the owner on Oct 4, 2021. It is now read-only.
This repository was archived by the owner on Oct 4, 2021. It is now read-only.
How do I queue a build? #311
Open
Description
I am trying to Queue a Build using a REST API call. I am sending a POST request to POST https://dev.azure.com/{organization}/{project}/_apis/build/builds?api-version=6.0
With the request body:
{"build" : {
"Definition" : 1
}
}
I have also tried other request body sample. But none of them works. How do I send a request to queue this build? In the header, I am sending my PAT and it is working.
Metadata
Metadata
Assignees
Labels
No labels