Groups API

/api/juniper/vdirector/groups/groups

The following operations are supported on this resource:

GET /api/juniper/vdirector/groups/groups (v1)


Access Control

The following capabilities are required to access this API:
"VSMCap"


Example Usage

GET /api/juniper/vdirector/groups/groups

Content Types

  • Produces content types:
    application/net.juniper.vdirector.groups.groupobjects+xml;version=1;q=0.01
    application/net.juniper.vdirector.groups.groupobjects+json;version=1;q=0.01


  • Sample Output XML:
    <groupobjects total="Integer" uri="/api/juniper/vdirector/groups/groups">
         <groupobject href="/api/juniper/vdirector/groups/groups/{id}" uri="/api/juniper/vdirector/groups/groups/{id}">
               <group-type>BUILTIN</group-type>
               <num-exprs>Integer</num-exprs>
               <date-modified>java.util.Date</date-modified>
               <desc>String</desc>
               <static-vms uri="/api/juniper/vdirector/groups/groups/{id}/static-vms">
                   <static-member>
                         <uuid>String</uuid>
                   </static-member>
               </static-vms>
               <id>Integer</id>
               <smart-def uri="/api/juniper/vdirector/groups/groups/{id}/smart-def">
                   <smart-expr>
                         <comp>EQUALS</comp>
                         <value>String</value>
                         <match>NONE</match>
                         <prop>VI_ATTRIBUTE</prop>
                   </smart-expr>
               </smart-def>
               <name>String</name>
               <group-size>Integer</group-size>
               <smart-def-str>String</smart-def-str>
               <date-created>java.util.Date</date-created>
         </groupobject>
    </groupobjects>


  • Sample Output JSON:
    {
       "groupobjects" : {
         "@total" : "Integer" ,
         "@uri" : "/api/juniper/vdirector/groups/groups" ,
         "groupobject" : {
           "@href" : "/api/juniper/vdirector/groups/groups/{id}" ,
           "@uri" : "/api/juniper/vdirector/groups/groups/{id}" ,
           "group-type" : "BUILTIN" ,
           "num-exprs" : "Integer" ,
           "date-modified" : "java.util.Date" ,
           "desc" : "String" ,
           "static-vms" : {
             "@uri" : "/api/juniper/vdirector/groups/groups/{id}/static-vms" ,
             "static-member" : {
               "uuid" : "String"
             }
           } ,
           "id" : "Integer" ,
           "smart-def" : {
             "@uri" : "/api/juniper/vdirector/groups/groups/{id}/smart-def" ,
             "smart-expr" : {
               "comp" : "EQUALS" ,
               "value" : "String" ,
               "match" : "NONE" ,
               "prop" : "VI_ATTRIBUTE"
             }
           } ,
           "name" : "String" ,
           "group-size" : "Integer" ,
           "smart-def-str" : "String" ,
           "date-created" : "java.util.Date"
         }
       }
    }