I'm trying to consolidate getting latest references for any project in my company's codebase. We'd like to maintain dependencies in only one location, and because we're using artifacts dependencies within TeamCity, we'd like to draw as much as possible from that. The "Check artifact dependencies" does exactly what I want to be able to do from a script - make a call into TeamCity (using an authorized user/password) and have it download the dependent artifacts to the current local directory.
Using the REST API and the API for downloading artifacts, I've been able to get a reasonable solution working, but if the "check artifact dependencies" button was available via an API to download the artifacts, this would be a one-liner in our scripts. Any chance this is available in some (un)documented API?