Skip to main content

List block versions

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

Parameters

NameParameter typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
blockId(required)pathstring-The block identifier
branchId(required)pathstring-The branch identifier
brokenpathboolean-Set to true if you only want to see broken block versions
runningStatuspathstring-Filter the listing to a specific running status
pageIndexquerynumberintegerThe index of the page.
pageSizequerynumberintegerThe number of results per page. The default is 25.

Responses

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

Examples

Get all block versions for the main branch of the movie-listing block

HTTP
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movie-listing/main/versions/

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request