API Reference

Create watermark groups

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

ParameterTypeDescription
namestringDefine a name for the watermark linked to your selected videos.
video_idsarray[string]Specify the video IDs to associate with the watermark group.
folder_idsarray[string]Specify the folder IDs to associate with the watermark group.
percent_tsfloatSet a percentage of the desired watermark for your video. The range is from 0 to 1.
font-familystringChoose the font family for the watermark. Available fonts: fredoka-regular, arial, helvetica, times-new-roman, and times.
font-colorstringSpecify the font color for the watermark (e.g., "white").
font-sizestringSet the font size for the watermark (e.g., "22").
box-colorstringSpecify the color for the watermark box (e.g., "#4874F1").
box-opacitystringSet 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:

Language
Credentials
Header
Click Try It! to start a request and see the response here!