Search code examples
apirestbuildteamcitychangelog

TeamCity ChangeLog Details through API REST


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?


Solution

  • 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.