2 Replies Latest reply on Dec 16, 2014 4:04 AM by ehugonnet

    Jboss - HTTP JSON - API

    helfgott

      Hi everyone.

       

      I'm trying to control Jboss through the http api (jboss 6.1 , Domain Mode)

       

      I've found a way to stop all servers:

       

      curl --digest -L -D - http://localhost:9990/management -H "Content-Type: application/json" -d '{"operation":"restart-servers"}' -u admin

       

      But i'm unable to find how contorl specific server-groups, hosts (instances).

       

      Any idea? i've been looking for a while in the operations descriptions but nothing alike:

       

      localhost:9990/management?operation=resource-description&recursive&operations&json.pretty

       

      Thanks for reading.