I'm trying to get the changelog details through the REST API. So far, what I've got is this: https://teamcity.blabla.com/httpAuth/app/rest/changes/buildType:(id:20140010), which lists the latest change in the latest build of the buildType. Do you guys know a way I can list N changelog details based on a build range?

有帮助吗?

解决方案

Judging from the documentation, I think you are limited to a "since date" (start date) rather than a range. The query would look like this:

https://teamcity.blabla.com/httpAuth/app/rest/changes?buildType=id:20140010&sinceDate=20130305T170030+0400

where the date format is the same as that returned by the API.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top