List all namespaces
Returns a list of namespaces.
Query Parameters
limit integer
Default value: 100
The number of results to return from offset.
offset integer
The initial position from which to return results.
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
namespaces object[]
{
"namespaces": [
{
"name": "my-namespace",
"createdAt": "2019-05-09T19:49:24.201361Z",
"updatedAt": "2019-05-09T19:49:24.201361Z",
"ownerName": "me",
"description": "My first namespace!"
}
]
}
GET /namespaces
Request
Request
curl / cURL
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET 'http://localhost:5000/api/v1/namespaces' \
-H 'Accept: application/json'