Skip to main content
POST/api/management/projects/{projectId}/blocks?autoRelease={true|false}

Parameters

NameParameter typeTypeDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management console.movieDbtrue
releasequerybooleanAutomatically release the block as soon as it has been discovered. Defaults to false.false

Responses

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

Examples

Pushing a new version of the movie-listing block

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Accept: application/json POST: /api/management/projects/movieDb/blocks/ { "id": "movie-listing", "projectId": "movieDb", "image": { "uri": "moviedb/movie-listing", "tag": "81e13d08" }, "source": { "branch": "master", "provider": "github", "repositoryUrl": "https://github.com/moviedb/movie-listing.git", "commit": { "id": "81e13d08", "message": "Implemented movie listing", "authorEmail": "m.scorsese@film.com", "committerEmail": "m.scorsese@film.com", "datetime": "2021-08-09T14:05:10Z" } } }

Remarks

Still need help?

New support request