/namespaces

  • GET /api/v1/namespaces

GET /api/v1/namespaces

Retrieve the list of namespaces.

Example request:

curl -X GET "http://localhost:4000/api/v1/namespaces" -H "accept: application/json"
GET /api/v1/namespaces HTTP/1.1
Host: localhost:4000
Accept: application/json, text/javascript

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json

[
  {
      "name": "myNamespace",
      "id": 1234
  }
]
Response Headers
  • Content-Type – application/json

Status Codes
Response JSON Array of Objects
  • name (string) – The name of the namespace as stored in the server.

  • id (integer) – The namespace ID in the system.