Skip to main content
Browse Documentation
HTTP - Management

List block versions

Created by s.horan, last modified by zengenti on 17 Jan 2023

Gets versions of a block as a paged list

GET/api/management/projects/{projectId}/blocks/{blockId}/branches/{branchId}/versions/

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
blockIdpathstringThe block identifiermovie-listingtrue
branchIdpathstringThe branch identifiermaintrue
brokenpathbooleanSet to true if you only want to see broken block versionsfalse
runningStatuspathstringFilter the listing to a specific running statusstoppedfalse
pageIndexquerynumberintegerThe index of the pagefalse
pageSizequerynumberintegerThe number of results per page. The default is 25.false

Example

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/

Responses

HTTP status codeReasonModel
200SuccessPagedList<Block version>
401UnauthorizedError
422Validation errorError
500Internal server errorError