문제

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