/organisations/id/{id}/namespaces Resource

Returns the namespaces of an organisation.

Access: Unauthorized (public) access allowed.

GET /organisations/id/{id}/namespaces

Returns the namespaces of an organisation.

Access: Unauthorized (public) access allowed.

Request Parameters
name type description constraints
id path of the organisation whose namespaces are requested required
runas query optional login name whose identity is used to execute the request (only available to users with the RunAs privilege)  
Response Codes
code condition
200 if the request was completed successfully
401 if the user could not be authenticated (error code 401001)
404 if the organisation with the given id could not be found (error code 404001)
Response Body
media type data type description
application/json Collection (JSON) a Collection of Namespaces

Example

Request
GET /organisations/id/{id}/namespaces
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "self" : "http://example.org/collection",
  "totalItems" : 42,
  "items" : [ { }, { } ]
}