Skip to main content

Get a block version

Log in to add to favourites
GET/api/management/projects/{projectId}/blocks/{blockId}/branches/{branchId}/versions/{version}

Parameters

NameParameter typeTypeDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
blockIdpathstringThe block identifiermovie-listingtrue
branchIdpathstringThe branch identifiermaintrue
versionpathstringA label of either live or latest, or a valid version number.4true

Responses

HTTP status codeReasonModel
200SuccessBlock version
401UnauthorizedError
422Validation errorError
500Internal server errorError

Examples

Get latest version of a block

HTTP
1
2
Accept: application/json GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/latest

Get the current live version of a block

HTTP
1
2
Accept: application/json GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/live

Get version 2 of a block

HTTP
1
2
Accept: application/json GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/2

Still need help?

New support request