Get a block version
Log in to add to favouritesPage last updated 17 January 2023
GET/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
Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/latestAccept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/liveAccept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/main/versions/2