Used to create a folder.
The "Create folder" endpoint allows you to create a new folder in your PandaVideo account. By making a POST request to the specified URL (https://api-v2.pandavideo.com.br/folders
), you can create a folder with the desired name and optionally specify a parent folder ID.
To create a folder, you need to provide the following information in the request body:
Parameter | Type | Description |
---|---|---|
name | string | The name of the folder. It should be between 3 and 50 characters long. |
parent_folder_id | string | The UUID of the parent folder if you want to create a nested folder. If not provided, the folder will be created at the root level. |
Responses
201
: Success. Folder created successfully.400
: Bad request. Check the request parameters or syntax.401
: Unauthorized. The request lacks valid authentication credentials.500
: Internal server error. Please try again later.
By utilizing the "Create folder" endpoint, you can programmatically create folders in your PandaVideo account. This can be useful for organizing your videos and managing them in a hierarchical structure.
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.