Reference
Create namespace
Makes a namespace: its own folder of the store, private unless asked.
POST
bearerheader
AuthorizationBearer <token>application/json- body
name*stringMatch
^[A-Za-z0-9_-][A-Za-z0-9._-]*(\/[A-Za-z0-9_-][A-Za-z0-9._-]*)*$Length
length <= 200region?stringWhere its data lives. It can't change later. The default region if not given.
visibility?stringprivate: only the organization's keys and members. public: anyone may also read it, without a key, by naming it <org>:<namespace>.
Default
"private"Value in
"private""public"The namespace.
application/json- response
name*stringregion*stringvisibility*Visibilityprivate: only the organization's keys and members. public: anyone may also read it, without a key, by naming it <org>:<namespace>.
Value in
"private""public"created*stringFormat
date-timecurl -X POST 'https://example.com/v1/namespaces' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "name": "string", "region": "string", "visibility": "private", "created": "2019-08-24T14:15:22Z"}