Drive List Files
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GOOGLE_DRIVE_LIST_FILES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "GOOGLE_DRIVE_LIST_FILES",
"parameters": {
"includeFolders": true,
"parentId": "<string>",
"pageSize": "<string>",
"includeSharedItems": true,
"additionalFields": {},
"paginationParameters": {
"pageCursor": "<string>"
}
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Your Paragon Project ID
Body
Include Folders
Folder : Use Connect Portal Workflow Settings to allow users to select which Folder to get files from. Defaults to the user’s root folder if unspecified. (example: "{{settings.folder}}")
Page Size : Specify the number of files to include on a page. Accepts values from 1 to 1000. Defaults to 100 if unspecified. (example: "100")
Include Shared Drive Items : Specify whether search results should include files in shared drives. Defaults to false.
Additional Fields : Specify any other fields that should be updated in JSON below. Use Connect Portal Workflow Settings to allow users to select which fields to update. (example: " { "supportsAllDrives": true }")
Response
Success
Was this page helpful?
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GOOGLE_DRIVE_LIST_FILES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "GOOGLE_DRIVE_LIST_FILES",
"parameters": {
"includeFolders": true,
"parentId": "<string>",
"pageSize": "<string>",
"includeSharedItems": true,
"additionalFields": {},
"paginationParameters": {
"pageCursor": "<string>"
}
}
}'