Returns the namespaces of an organisation.
Access: Unauthorized (public) access allowed.
Returns the namespaces of an organisation.
Access: Unauthorized (public) access allowed.
| 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) |
| 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) |
| media type | data type | description |
|---|---|---|
| application/json | Collection (JSON) | a Collection of Namespaces |
GET /organisations/id/{id}/namespaces
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"self" : "http://example.org/collection",
"totalItems" : 42,
"items" : [ { }, { } ]
}