Release a block version
Log in to add to favouritesPOST/api/management/projects/{projectId}/blocks/{blockId}/actions
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 |
Responses
HTTP status code | Reason | Model |
---|---|---|
202 | Accepted | Block version |
401 | Unauthorized | Error |
404 | Project not found | Error |
422 | Validation error | Error |
500 | Internal server error | Error |
Examples
Release version 2 of the movie-listing block
Accept: application/json
POST: /api/management/projects/movieDb/blocks/movie-listing/actions
{
"type": "release",
"data": {
"version": "0.9"
}
}
Remarks
If the version specified is not the latest version or the version is already a released version, then a validation error will be returned.