Get a block version
Log in to add to favouritesGET/api/management/projects/{projectId}/blocks/{blockId}/branches/{branchId}/versions/{version}
Parameters
Name | Parameter type | Type | Description |
---|---|---|---|
projectId(required) | path | string | The project identifier found in the project overview screen of the management console. |
blockId(required) | path | string | The block identifier |
branchId(required) | path | string | The branch identifier |
version(required) | path | string | A label of either live or latest, or a valid version number. |
Responses
HTTP status code | Reason | Model |
---|---|---|
200 | Success | Block version |
401 | Unauthorized | Error |
422 | Validation error | Error |
500 | Internal server error | Error |
Examples
Get latest version of a block
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/latest
Get the current live version of a block
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/live
Get version 2 of a block
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/2