REST: get the list of all artifacts

Hi,

the REST API allows to browse the artifacts on a subdirectory basis, but it looks like it doesn't allow to get the list of all artifacts ("recursively") in one go.
Is that correct?
Is there a workaround?

Cheers,
Olivier

1 comment
Comment actions Permalink

Hi Olivier,

It is not possibel using REST API. REST API request returns the list of folders and urls to get their content: <children href="/httpAuth/app/rest/builds/id:<>/artifacts/children/<folder_name>"/>.
You can get the list of all artifacts using Patterns for accessing build artifacts:

/repository/download/BUILD_TYPE_EXT_ID/.lastFinished/teamcity-ivy.xml.

0

Please sign in to leave a comment.