Skip to main content

Make a block version live

Log in to add to favourites
POST/api/management/projects/{projectId}/blocks/{blockId}/actions

Parameters

NameParameter typeTypeDescription
projectId(required)pathstringThe project identifier found in the project overview screen of the management console.
blockId(required)pathstringThe block identifier

Responses

HTTP status codeReasonModel
202AcceptedBlock version
401UnauthorizedError
404Project not foundError
422Validation errorError
500Internal server errorError

Examples

Make version 2 of the movie-listing block live

JSON
Accept: application/json
POST: /api/management/projects/movieDb/blocks/movie-listing/actions

{
    "type": "makeLive",
    "data": {
        "version": "2"
    }
}

Remarks

If the specified version is either not a released version or is marked as broken, then a validation error is returned.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request