POST /source_control/releases/{elementUuid}
Pushes a branch to the source control repository that creates a new release artifact with the provided version for the element based on the latest version. Requires the source_control:releases_write scope.
Servers
- https://api.retool.com/api/v2
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
elementUuid |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
elementType |
String | Yes |
Valid values:
|
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
commit_message |
String | No |
Message to use for the commit that updates the specified manifest. If a message is not provided, a default will be used. |
release_description |
String | No |
The description of the release. |
release_version |
String | Yes |
The version of the release. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.