/api/space/domain-management/domains (v1)

The following operations are supported on this resource:

  • GET - Get a list of all domains as a flat list
GET /domains Version 1

Get a list of all domains as a flat list.

Sample Usage

GET /domains


  • Sample Output XML:
    <domains total="Integer" uri="/api/space/domain-management/domains">
         <domain href="/api/space/domain-management/domains/{id}" uri="/api/space/domain-management/domains/{id}">
               <id>Integer</id>
               <created-at>String</created-at>
               <modified-at>String</modified-at>
               <description>String</description>
               <name>String</name>
               <children uri="/api/space/domain-management/domains/{id}/children">
                   <domain href="/api/space/domain-management/domains/{id}" uri="/api/space/domain-management/domains/{id}/children/{id}">
                         <id>Integer</id>
                         <name>String</name>
                   </domain>
               </children>
               <child-lock>Boolean</child-lock>
               <domain-type>String</domain-type>
         </domain>
    </domains>

  • Sample Output JSON:
    {
       "domains" : {
         "@total" : "Integer" ,
         "@uri" : "/api/space/domain-management/domains" ,
         "domain" : {
           "@href" : "/api/space/domain-management/domains/{id}" ,
           "@uri" : "/api/space/domain-management/domains/{id}" ,
           "id" : "Integer" ,
           "created-at" : "String" ,
           "modified-at" : "String" ,
           "description" : "String" ,
           "name" : "String" ,
           "children" : {
             "@uri" : "/api/space/domain-management/domains/{id}/children" ,
             "domain" : {
               "@href" : "/api/space/domain-management/domains/{id}" ,
               "@uri" : "/api/space/domain-management/domains/{id}/children/{id}" ,
               "id" : "Integer" ,
               "name" : "String"
             }
           } ,
           "child-lock" : "Boolean"
           "domain-type" : "String"
         }
       }
    }

    • For the current version of this API, refer to :
    • version 2