HTTP - Management
Removed from your favourites
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
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
blockId | path | string | The block identifier | movie-listing | true | |
branchId | path | string | The branch identifier | main | true | |
broken | path | boolean | Set to true if you only want to see broken block versions | false | ||
runningStatus | path | string | Filter the listing to a specific running status | stopped | false | |
pageIndex | query | number | integer | The index of the page | false | |
pageSize | query | number | integer | The 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 code | Reason | Model |
---|---|---|
200 | Success | PagedList<Block version> |
401 | Unauthorized | Error |
422 | Validation error | Error |
500 | Internal server error | Error |