TeamCity 10 REST API - Get projects/build configs and order on the Overview page

Answered

Hey guys,

as per the TeamCity 10 EAP REST API improvements (see https://confluence.jetbrains.com/pages/viewpage.action?pageId=77272484#Indore10EAP2(build41463)ReleaseNotes-RESTAPIenhancements) it should now be possible to get the projects and build configurations as well as their order on the Overview page as configured by the specified user. Looking at the WADL and the existing TC 10 API documentation it's not obvious what the corresponding REST API call would be. Can you give an example on how to do this?

Thanks!

3 comments

Hello Michael,

Please see the related ticket and an example of the request.

Also you can use http://teamcity:8111/httpAuth/app/rest/application.wadl to get the full list of supported requests and names of parameters. For more details see the section.

0

Michael,

BTW, could you describe how you plan to use the feature to get user's ordering?

0

Hi Yegor,

I'm planning to use this for the next version of the TeamCity Companion iOS app to import / sync favorite projects.

 

Best,

Michael

0

Please sign in to leave a comment.