Namespace:Get Namespaces

Search (SHIFT+S)




New in this release

Get Namespaces

GET /object/namespaces

Gets the identifiers for all configured namespaces.


Query Parameters

limitNumber of objects requested in current fetch.
markerReference to last object returned.
nameCase sensitive prefix of the Namespace name with a wild card(*) Ex : any_prefix_string*

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR


Response Body

List of all configured namespaces

Field Description Type Notes
<namespaces>
<namespace>     0-* Elements
<name> Object related resource name String
<id> Object related resource Id URI
<link> Object related resource link
</namespace>      
<MaxNamespaces> Number of Namespaces requested. Integer
<NextMarker> Reference object to retrieve next set of objects. String
<Filter> filter used to get the objects. String
<NextPageLink> link to get the next page. String
</namespaces>

Examples

Request
GET https://192.168.0.0:4443/object/namespaces HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<namespaces>
  <namespace>
    <id>bob_namespace</id>
    <link href="/object/namespaces/namespace/bob_namespace" rel="self"/>
    <name>bob_namespace</name>
  </namespace>
</namespaces>
Notes: