Versions

get

Checks if version creation balance is available.

Header parameters
authorizationstringRequired

The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

Responses
200

Version creation balance checked successfully.

application/json
availableAtstring · date-time · nullableRequired
canCreatebooleanRequired
remainingBalanceintegerRequired
get
/api/v1/versions/check-creation-balance
post

Deploys the current draft version.

Header parameters
authorizationstringRequired

The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

Responses
200

The draft version was deployed.

application/json
messagestringRequired

An informative message for a call that has no effective result to be returned.

post
/api/v1/versions/deploy
get

Retrieves differences between source and target versions.

Query parameters
sourceIdstring · uuidRequired

A UUID v4 string that identifies an entity.

targetIdstring · uuidRequired

A UUID v4 string that identifies an entity.

Header parameters
authorizationstringRequired

The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

Responses
200

Version differences retrieved successfully.

application/json
get
/api/v1/versions/diff
get

Retrieves multiple versions.

Query parameters
pageNumbernumber · min: 1Optional

The page number.

Default: 1
pageSizenumber · min: 1 · max: 100Optional

The page size.

Default: 10
Header parameters
authorizationstringRequired

The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

Responses
200

Retrieves all versions for the workspace scope.

application/json
createdAtstring · date-timeRequired
idstring · uuidRequired

A UUID v4 string that identifies an entity.

updatedAtstring · date-timeRequired
brandIdstring · uuid · nullableRequired

A UUID v4 string that identifies an entity.

numbernumberRequired

The version number. -1 indicates a draft version and 0 indicates the production version. Higher numbers are snapshots created during deploys.

referenceIdstring · uuid · nullableRequired

The ID of version that this version is based on.

workspaceIdstring · uuidRequired

A UUID v4 string that identifies an entity.

get
/api/v1/versions
post

Rolls back the current draft version to a specific version.

Header parameters
authorizationstringRequired

The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

Body
idstring · uuidRequired

A UUID v4 string that identifies an entity.

Responses
200

The draft version was rolled back.

application/json
messagestringRequired

An informative message for a call that has no effective result to be returned.

post
/api/v1/versions/rollback

Last updated