Need (internal) info about configurations and agent
Hi,
I'm using the HTTP access methods to let configurations control (e.g. start) other configurations for certain reasons.
To do this properly I need (internal) information about configurations and agents.
This is because the supplied Teamcity "interface" required "configuration id's" and "agent id's" for certain tasks.
However to design this "functions" properly, I do want the control this by using "user configuration names" and "user agent names" i.s.o. these Teamcity (internal) id's.
I know that I can use the REST API to get the required information, I just don't known exactly how!
To get an agent list (of names and related id'sI can send: http://tcprod/httpAuth/app/rest/agents
But how do I get a comparable list of all configurations and related id's ???
Thank in advance
Please sign in to leave a comment.
> But how do I get a comparable list of all configurations and related id's ???
http://tcprod/app/rest/buildTypes
You can also get the projects by
http://tcprod/app/rest/projects