- Print
- DarkLight
- PDF
Drive search - files and folders
Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens
Keyword to search file items from drive
Specify the page to retrieve. Page numbers are zero-based. Therefore, to retrieve the 10th page, you need to set page=9
The number of results per page
Allow images only in response
Find by userId
Filter using from-date
Filter using to-date
Filter using tagIds
Success
This response indicates the process has been completed.
{
"data": {
"all_files": [
{
"id": "d79c041c-0f94-4b04-a8b6-a14bb1995eca",
"file_name": "File name",
"file_type": "Other",
"file_url": "https://file.example.com/file.png",
"updated_on": "2024-05-23T02:28:57Z",
"updated_by": "ff9c041c-0f94-4b04-a8b6-a14bb1995eca",
"size": "342",
"height": null,
"width": null,
"title": "File title",
"alternative_text": null,
"is_starred": false,
"parent_folder_id": "sdfs041c-0f94-4b04-a8b6-a14bb19fwefver",
"tag_ids": [
"e79c041c-0f94-4b04-a8b6-a14bb1995eca",
"f79c041c-0f94-4b04-a8b6-a14bb1995eca"
]
}
],
"count": 12
},
"extension_data": null,
"success": true,
"errors": [],
"warnings": [],
"information": []
}
Search file items from drive
The file ID
The file name
The file type
The file URL
The date the file was uploaded
The ID of user who uploaded the file
The file size
The file height
The file width
The file title
The alternative text
This denotes the file is starred or not
The parent folder ID
The tagIds associated with the file
Total file count
Status indication for customer API response
Errors in the customer API response
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Warning description
warning code for customer Api base response
Information passed by the customer API response
status description for customer Api response information
Bad Request
Kindly verify the status and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [],
"warnings": [],
"information": []
}
Status indication for customer API response
Errors in the customer API response
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Warning description
warning code for customer Api base response
Information passed by the customer API response
status description for customer Api response information