Create a namespace
Creates a new namespace object. A namespace enables the contextual grouping of related jobs and datasets. Namespaces must contain only letters (a-z
, A-Z
), numbers (0-9
), underscores (_
), dashes (-
), colons (:
), slashes (/
), or dots (.
). A namespace is case-insensitive with a maximum length of 1024
characters. Note jobs and datasets will be unique within a namespace, but not across namespaces.
Path Parameters
Possible values: <= 1024 characters
The name of the namespace.
Request Body
The owner of the namespace.
The description of the namespace.
- 200
OK
Schema
The name of the namespace.
An ISO-8601 timestamp representing the date/time the namespace was created.
An ISO-8601 timestamp representing the date/time the namespace was updated.
The owner of the namespace.
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!"
}
PUT /namespaces/:namespace
Request
Request
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'
curl -L -X PUT 'http://localhost:5000/api/v1/namespaces/:namespace' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"ownerName": "me",
"description": "My first namespace!"
}'