List folders
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
}Folders
List folders
Returns the folder tree below the requested parent, including file counts and nested children.
GET
/
v1
/
folders
List folders
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
}