Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.videobase.com/v1/folders \ --header 'X-Api-Key: <api-key>'
const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}}; fetch('https://api.videobase.com/v1/folders', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.videobase.com/v1/folders" headers = {"X-Api-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "list": [ { "id": 123, "name": "<string>", "code": "<string>", "isPublic": true, "openEmbed": true, "files": 1, "children": "<array>", "color": "<string>" } ] }
{ "message": "File not found", "status": 500 }
Returns the folder tree below the requested parent, including file counts and nested children.
Recommended. Your 16-character Videobase API key.
Parent folder ID. Use 0 or omit it for the root.
0
x >= 0
Folder tree.
Show child attributes