POST /accounts/{account_id}/stream/watermarks
Creates watermark profiles using a single HTTP POST multipart/form-data request.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | No |
A short description of the watermark profile. |
url |
String | No |
URL of the watermark image to copy. |
padding |
Number | No |
The whitespace between the adjacent edges (determined by position) of the video and the image. Default value: 0.05 |
opacity |
Number | No |
The translucency of the image. A value of Default value: 1 |
position |
String | No |
The location of the image. Valid positions are: Default value: "upperRight" |
scale |
Number | No |
The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. Default value: 0.15 |
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.