API referenceWorkspaces
POST /workspaces/{workspaceId}/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/activate" \ -H "Content-Type: application/json" \ -d '{ "generation": 0, "revision": "string" }'{ "$schema": "https://example.com/schemas/WorkspaceStatusOutputBody.json", "status": "string"}generation*integer
Format
int64revision*string
GET /webhooks/endpoints/channel/{channelId} GET
Previous Page
POST /workspaces/{workspaceId}/draft/activate is then cleared POST
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.