Get list of projects that are Archived via REST

There is a nice cctray REST api to get all the projects and configurations but no it seems no easy way to find out what projects are archived.

Is there any REST call to get this info ?

Comment actions Permalink

According to the documentation ( there does not appear to be a simple way to just get the archived projects, but it should be relatively simple to loop through the project list (http://teamcity:8111/httpAuth/app/rest/projects) and then read the "archived" property for each project (http://teamcity:8111/httpAuth/app/rest/projects/<projectLocator>/archived).

Comment actions Permalink

For those stumbling upon this question / answer... nearly 8 years later.

Use locator to filter your request, like so:


You can use this method to filter any request -- and this really should be included as an example in official the API Docs


Please sign in to leave a comment.