The "Enable watermark" endpoint allows you to protect your videos from piracy by enabling a watermark. By making a POST request to the specified URL (
https://api-v2.pandavideo.com.br/drm), you can activate the watermark feature for your videos.
200: Success. Watermark enabled successfully.
400: Bad request. Check the request parameters or syntax.
404: Not found. The requested resource (folders) was not found.
500: Internal server error. An unexpected error occurred on the server side.
Enabling a watermark on your videos helps in preventing unauthorized copying or distribution. The watermark can be customized with your desired text or image, which will be overlaid on your videos during playback.
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.