description |
---|
Gets a specific block version by label or version number. |
Gets a specific block version by label or version number.
A label of live will request the version that is currently the live production version. A label of latest will return the last pushed version of the block.
GET /api/management/projects/{projectId}/blocks/{blockId}/{branchId}/versions/{version}
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId | path | string | The project identifier, e.g. "movieDb". Found in the project overview screen of the management console | |
blockId | path | string | The block identifier | |
branchId | path | string | The branch identifier | |
version | path | string | label or version number | A label of either live or latest, or a valid two-part version number, e.g. 1.7 |
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/master/versions/2.0
HTTP status code | Reason | Response model |
---|---|---|
200 | Success | Block version |
401 | Unauthorized | Error |
404 | NotFound | Error |
422 | ValidationError | Error |
500 | InternalServerError | Error |