workspace
Create or update a workspace JSON version
post/workspaces/{namespace}/{slug}/version
Request
- Base URLhttps://api.scalar.com/core
- URLhttps://api.scalar.com/core/workspaces/{namespace}/{slug}/version
- AuthHTTP bearer
Path parameters
namespacestring required
Example:acme
slugstring required
Example:acme-api
Request body
Example request
{
"version": "1.2.0"
}Response
Default Response
Example response
{
"version": "1.2.0",
"createdAt": 1735689600,
"updatedAt": 1735689600
}Changes
- info
for the
pathrequest parameternamespace, the minLength was decreased from3to2
- info
- info
api operation id
postworkspacesNamespaceSlugVersionremoved and replaced withpostWorkspacesNamespaceSlugVersion
- info