Lists namespaces in name order, or looks up one namespace by name. Requires the admin token.
Changed onRequest
- Base URLhttps://api.rivet.dev
- URLhttps://api.rivet.dev/namespaces
- Auth
- HTTP bearer
- or API key in header x-rivet-token
Query parameters
Only return the namespace with this name. The response then holds zero or one namespace, pagination.cursor is null, and limit and cursor are ignored.
Name of the last namespace on the previous page. Pass the pagination.cursor value from the previous response.
Maximum number of namespaces to return, from 1 to 100. Defaults to 100.
Response
A page of namespaces.
Example response
{
"namespaces": [
{
"name": "my-namespace"
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, default value100was added - breaking
for the
queryrequest parameterlimit, the min was increased from0.00to1.00 - breaking
added the pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$to thequeryrequest parametername - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
for the
queryrequest parametername, the maxLength was set to63 - warning
for the
queryrequest parameterlimit, the max was set to100.00 - warning
deleted the
queryrequest parameternamespace_id - warning
deleted the
queryrequest parameternamespace_ids - info
the endpoint scheme security
rivet_token_headerwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
/became required for the status
- breaking
- info
added the new optional
queryrequest parameternamespace_id
- info