Used to create watermark group properties
To create watermark group properties, you can make a POST request to the endpoint provided (https://api-v2.pandavideo.com.br/drm/videos
). This allows you to define the properties of the watermark that will be linked to your selected videos.
Request Body Parameters
Parameter | Type | Description |
---|---|---|
name | string | Define a name for the watermark linked to your selected videos. |
video_ids | array[string] | Specify the video IDs to associate with the watermark group. |
folder_ids | array[string] | Specify the folder IDs to associate with the watermark group. |
percent_ts | float | Set a percentage of the desired watermark for your video. The range is from 0 to 1. |
font-family | string | Choose the font family for the watermark. Available fonts: fredoka-regular, arial, helvetica, times-new-roman, and times. |
font-color | string | Specify the font color for the watermark (e.g., "white"). |
font-size | string | Set the font size for the watermark (e.g., "22"). |
box-color | string | Specify the color for the watermark box (e.g., "#4874F1"). |
box-opacity | string | Set the opacity of the watermark box. The value should be between 0 and 1. |
Responses
200
: Success. The watermark group has been successfully created.400
: Bad request. Check the request parameters or syntax.404
: Not found. The endpoint or resource could not be found.500
: Internal server error. There was an error processing the request.
By making a POST request to this endpoint and providing the necessary parameters in the request body, you can create watermark group properties for your videos.
Recipes
The Recipes section provides a collection of code examples and sample implementations to help you understand and use the API effectively. Each recipe includes commented code that explains the purpose and functionality of each line. You can refer to these recipes as a guide to implement specific features or interact with the API endpoints.
See the recipes below: