How can I get a list of work items from VSTS using the REST API?
According to the documentation, the ids
parameter is optional, but when I omit it I get a 404
error.
If I add the ids
parameter, I can get the items.
Failing request:GET https://{account}.visualstudio.com/DefaultCollection/_apis/wit/workitems?api-version=1.0
Succeeding request:GET https://{account}.visualstudio.com/DefaultCollection/_apis/wit/workitems?ids=252&api-version=1.0
Authentication is the same for both.
The complete problem to solve is: get all features in a specific VSTS project