Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.21 KB

get-block-version.md

File metadata and controls

36 lines (27 loc) · 2.21 KB
description
Gets a specific block version by label or version number.

Get a block version

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}

Parameters

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

Example request

Accept: application/json
GET: /api/management/projects/movieDb/blocks/movielisting/master/versions/2.0

Response message

HTTP status code Reason Response model
200 Success Block version
401 Unauthorized Error
404 NotFound Error
422 ValidationError Error
500 InternalServerError Error