Hi, Srinivas. Thanks for the update.
For the environment example:
> _Environment:_
> curl -u admin:badger --data
>
"operation=Apply_Environment&selected[]=f6a76eaa-96ac-43a2-8255-7c898236ba22&selections[environment_name_one]=remove&selections[environment_name_three]=add"
>
http://localhost:8153/go/api/agents/edit_agents
In the selected[]=f6a7..., that looks like a uuid. What does that
correspond to, and where do I get it?
dave
On 10/29/2014 04:46 AM, srinivas upadhya wrote:
> Ok. I assume you want to edit "resources" & "environments" of an Agent
> through API. If thats correct then you are lucky! We have an
> undocumented API (its not easy to use. we want to re-write it) for it:
>
> _Resource:_
> --
> You received this message because you are subscribed to the Google
> Groups "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
go-cd+un...@googlegroups.com
> <mailto:
go-cd+un...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
--
David Leung
Senior Software Engineer
david...@vecna.com
http://www.vecna.org
Cambridge Campus
Vecna Technologies, Inc.
36 Cambridge Park Drive
Cambridge, MA 02140
Phone:
(617) 864-0636
Fax:
(617) 864-0638
Better Technology, Better World (TM)
The contents of this message may be privileged and confidential.
Therefore, if this message has been received in error,
please delete it without reading it. Your receipt of this message is
not intended to waive any applicable privilege.
Please do not disseminate this message without the permission of the author.