List Folder Contents
Changed onRetrieves basic information about the contents of a given folder. Results are paginated. With only a document.app.folder scope, the folder must be the app project folder or inside it, and root is not available.
Request
- Base URLhttps://api.lucid.co
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopesfolder:readonly, lucidchart.document.app.folder, lucidspark.document.app.folder, lucidscale.document.app.folder
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the folder or root to retrieve contents of the authenticated user's root directory ("My Documents").
Query parameters
Restricts the listing to one kind of entry. The only supported filter is "type=folder", which returns only folders. If no filter is provided, both folders and documents are returned. The filter is kept in the next page link.
Response
OK with an array of Folder Content Resources containing information about the contents of the requested folder.
Example response
[
{
"type": "document",
"name": "Folder Name",
"accountId": 1234,
"product": "lucidchart"
}
]Changes
- info
the security scope
lucidchart.document.app.folderwas added to the endpoint's security schemeOAuth2 - info
the security scope
lucidscale.document.app.folderwas added to the endpoint's security schemeOAuth2 - info
the security scope
lucidspark.document.app.folderwas added to the endpoint's security schemeOAuth2 - info
added the new optional
queryrequest parameterfilter - info
added the required property
/to the response with the status
- info