microsoft / microsoft/azure-devops-go-api
RunPipeline is calling 5.1 preview API?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 223
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
hi,
Thank you for writing this API. I'm trying to write a terraform provider to call this API to run my pipeline. I have written my version 1 code (new Go learner) and then I realize your RunPipeline function is calling Azure devops API 5.1 preview ? while 6.0 is available?
Here is your code to show you are pointing to 5.1-preview.
resp, err := client.Client.Send(ctx, http.MethodPost, locationId, "5.1-preview.1", routeValues, queryParams, bytes.NewReader(body), "application/json", "application/json", nil)
I still haven't get my code working, but I'm not sure whether I should continue to develop my code which bases on 5.1 preview API calling.
I'm currently stuck at Pipeline calling and not able to find RefName.
It basically located pipeline base on PipelineID but not able to take RefName as parameter and always refer to basic master branch instead of other branches.
I have tried both "refs/heads/xxxbranchName" and "xxxbranchName", not effect.
since it's using 5.1 preview API, I can't find document from Microsoft to details explain what API look like.
Can you upgrade the RunPipeline to API 6.0 at least?
Many thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the RunPipeline entry point and inspect its request construction, especially the 5.1-preview version and RefName handling. Compare those parameters with the Azure DevOps 6.0 API documentation, then verify that the requested version and branch reference are passed correctly before considering the issue done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100