TeamCity API call for changes
Hi guys,
I found that locator of "/app/rest/changes" endpoint supports next dimensions:
" Supported dimensions are: [id, project, buildType, build, vcsRoot, vcsRootInstance, username, user, version, internalVersion, comment, file, pending, sinceChange, $singleValue, start, count]"
is it possible to get changes with some specific file using "file" locator? if yes, can you provide an example???
Cheers,
Pavel
Please sign in to leave a comment.
Hi Pavel,
the "File" dimension was introduced a long time ago and it hasn't really been updated, so it doesn't really have many options and they might not fully work as expected. Currently, you can use it in a locator such as: "file:(path:(contains:<filename>))", where <filename> should be replaced by the file name or a part of it.
It is going to be reworked and improved in the future, so please take into account that behavior for it might change.