API referenceWorkspaces

POST /workspaces/{workspaceId}/draft/activate is then cleared

Fails with 422 listing the issues when the draft has validation errors. Projections rebuild in the background; the workspace's requestedRevision shows progress until it becomes the activeRevision.

POST
/workspaces/{workspaceId}/draft/activate

Path Parameters

workspaceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/workspaces/string/draft/activate" \  -H "Content-Type: application/json" \  -d '{}'
{  "$schema": "https://example.com/schemas/ActivateDraftOutputBody.json",  "revision": "string",  "status": "string"}