/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="1" uri="/api/space/domain-management/domains">
         <domain href="/api/space/domain-management/domains/32769" uri="/api/space/domain-management/domains/32769">
               <id>32769</id>
               <created-at>Thu Apr 20 2017 07:27 PM UTC</created-at>
               <modified-at>Thu Apr 20 2017 07:26 PM UTC</modified-at>
               <description>Global Domain</description>
               <name>Global</name>
               <children uri="/api/space/domain-management/domains/32769/children">
                   <domain href="/api/space/domain-management/domains/32769" uri="/api/space/domain-management/domains/32769/children/819407">
                         <id>819407</id>
                         <name>child</name>
                   </domain>
               </children>
               <child-lock>true</child-lock>
               <domain-type>GLOBAL</domain-type>
         </domain>
    </domains>

  • Sample Output JSON:
    {
       "domains" : {
         "@total" : 1,
         "@uri" : "/api/space/domain-management/domains" ,
         "domain" : {
           "@href" : "/api/space/domain-management/domains/32769" ,
           "@uri" : "/api/space/domain-management/domains/32769" ,
           "id" : 32769 ,
           "created-at" : "Thu Apr 20 2017 07:27 PM UTC" ,
           "modified-at" : "Thu Apr 20 2017 07:26 PM UTC" ,
           "description" : "Global Domain" ,
           "name" : "Global" ,
           "children" : [
             {
               "@uri" : "/api/space/domain-management/domains/32769/children" ,
               "domain" : {
                 "@href" : "/api/space/domain-management/domains/32769" ,
                 "@uri" : "/api/space/domain-management/domains/32769/children/819407" ,
                 "id" : 819407 ,
                 "name" : "child"
               }
             }
           ],
           "child-lock" : true,
           "domain-type" : "GLOBAL"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: DefaultRead

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