List folders
List folders and subfolders with their IDs.
GET https://cotlet.dev/api/v1/vimeo/folders
read
Returns every folder you can see with its ID, name, parent and video count, top level first. Subfolders go up to 10 levels deep. On a team account it lists the Team library folders you have access to.
Parameters
| Name | Type | Description |
|---|---|---|
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/vimeo/folders \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("vimeo", "list_folders") const result = await cotlet.call('vimeo', 'list_folders'); cotlet call vimeo list_folders Example response
{
"folders": [
{
"folder_id": "20481",
"name": "Webinars",
"parent_id": null,
"video_count": 14
},
{
"folder_id": "20482",
"name": "Tutorials",
"parent_id": null,
"video_count": 10
},
{
"folder_id": "20490",
"name": "Customer stories",
"parent_id": "20482",
"video_count": 3
}
]
}