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 ?

1 comment
Comment actions Permalink

According to the documentation (http://confluence.jetbrains.com/display/TW/REST+API+Plugin) 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).

0

Please sign in to leave a comment.