Retrieve a namespace
Returns a namespace.
Path Parameters
namespace string required
Possible values: <= 1024 characters
The name of the namespace.
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
name string
The name of the namespace.
createdAt date-time
An ISO-8601 timestamp representing the date/time the namespace was created.
updatedAt date-time
An ISO-8601 timestamp representing the date/time the namespace was updated.
ownerName string
The owner of the namespace.
description string
The description of the namespace.
{
"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/:namespace
Request
Request
curl / cURL
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Accept: application/json'