Using ModID in the build locator
Answered
Hello everyone,
I'm curious if it's possible to use ModID through the REST API. The short version is I want to go from a Modification ID to the list of builds kicked off. Something like [http://teamcity/viewModification.html?modId=1010101&personal=true&init=1&tab=vcsModificationBuilds] would show in its "Builds" list, except through the API.
Seems like it's possible to get the information somehow, since the UI does it, but is that way available to outside callers?
Thanks!
Jason Griffith
Please sign in to leave a comment.
Hello Jason,
TeamCity REST API has an experimental feature that meets your need:
However, please be aware that it may not be fully supported or be gone in the future release. You can vote for the feature https://youtrack.jetbrains.com/issue/TW-24633.
Also you can display some info about the change using modid - please refer to TeamCity documentation of REST API Changes - and then use its version value to retreive builds with this revision, see REST API Revisions for more details.