Search Dropbox
Search dropboxes with specific filters.
Path parameters
Drive identifier
Query parameters
Optional : Allows loading additional data about a resource, which may include related resources.
The cursor parameter must be provided to fetch the subsequent batch of results. It essentially acts as a marker, indicating the point at which to begin retrieving the next set or page of the list
The maximum number of items returned
Specifies the default sorting direction for any order_by parameters provided
The author of the file
Category pattern, patterns accepted are <b>()&|</b> and combined category ids, to manage complex computing operation : <note><strong>&</strong> as synonym of AND</note> <note><strong>|</strong> as synonym of OR</note> <note><strong>()</strong> to handle priority</note>
created_at must be set as custom in order to use created_after. Filter Dropbox created after timestamp. Its minimum value is drive creation timestamp.
Creation time of the Dropbox.<note><strong>custom</strong>: Custom period from {attribute}_after to {attribute}_before params.</note><note><strong>last_12_months</strong>: Last 12 months.</note><note><strong>last_24_hours</strong>: Last 24 hours.</note><note><strong>last_30_days</strong>: Last 30 days.</note><note><strong>last_7_days</strong>: Last 7 days.</note><note><strong>last_90_days</strong>: Last 90 days.</note><note><strong>last_month</strong>: Previous month, from the first day at 00:00:00 to the last day at 23:59:59.</note><note><strong>last_week</strong>: Previous week, from Monday at 00:00:00 to Sunday at 23:59:59.</note><note><strong>last_year</strong>: Previous year, from January 1st at 00:00:00 to December 31st at 23:59:59.</note><note><strong>this_month</strong>: Current month, from the first day at 00:00:00 to the last day at 23:59:59.</note><note><strong>this_week</strong>: Current week, from Monday at 00:00:00 to Sunday at 23:59:59.</note><note><strong>this_year</strong>: Current year, from January 1st at 00:00:00 to December 31st at 23:59:59.</note><note><strong>today</strong>: Current day, from 00:00:00 to 23:59:59.</note><note><strong>yesterday</strong>: Previous day, from 00:00:00 to 23:59:59.</note>
created_at must be set as custom in order to use created_before. Filter Dropbox created before timestamp.
Whether the Dropbox has an expiration date
Whether the Dropbox has password protection
last_import_at must be set as custom in order to use last_import_after. Filter Dropbox last imported in after timestamp. Its minimum value is drive creation timestamp.
Last import time of the Dropbox.<note><strong>custom</strong>: Custom period from {attribute}_after to {attribute}_before params.</note><note><strong>last_12_months</strong>: Last 12 months.</note><note><strong>last_24_hours</strong>: Last 24 hours.</note><note><strong>last_30_days</strong>: Last 30 days.</note><note><strong>last_7_days</strong>: Last 7 days.</note><note><strong>last_90_days</strong>: Last 90 days.</note><note><strong>last_month</strong>: Previous month, from the first day at 00:00:00 to the last day at 23:59:59.</note><note><strong>last_week</strong>: Previous week, from Monday at 00:00:00 to Sunday at 23:59:59.</note><note><strong>last_year</strong>: Previous year, from January 1st at 00:00:00 to December 31st at 23:59:59.</note><note><strong>this_month</strong>: Current month, from the first day at 00:00:00 to the last day at 23:59:59.</note><note><strong>this_week</strong>: Current week, from Monday at 00:00:00 to Sunday at 23:59:59.</note><note><strong>this_year</strong>: Current year, from January 1st at 00:00:00 to December 31st at 23:59:59.</note><note><strong>today</strong>: Current day, from 00:00:00 to 23:59:59.</note><note><strong>yesterday</strong>: Previous day, from 00:00:00 to 23:59:59.</note>
last_import_at must be set as custom in order to use last_import_before. Filter Dropbox last imported in before timestamp.
The searched pattern. It should be at least 3 characters long to get relevant results.
Defines the scope of the given search query.<note><strong>all</strong>: Content and filename.</note><note><strong>content</strong>: Content only. Available only when the Drive has the can_use_content_search capability.</note><note><strong>filename</strong>: Filename only. Available only when the Drive has the can_use_content_search capability.</note>
Response
OK
Example response
{
"result": "success",
"data": [
{
"name": "Directory V3",
"path": "/full/path/Directory V3",
"type": "file",
"status": "locked",
"drive_id": 1111,
"depth": 3,
"shared_root_id": 1,
"sharelink": {
"url": "https://kdrive.infomaniak.com/app/share/xxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"right": "inherit"
},
"lock": {
"description": "365",
"token": "onlyoffice:123456"
},
"categories": [
{
"user_validation": "TO_VALIDATE",
"category": {
"color": "#FF1493"
}
}
],
"color": "#0098ff",
"external_import": {
"application": "dropbox",
"status": "canceled"
},
"rewind": {
"status": "canceled",
"mode": "directory",
"archiving": "all"
}
}
],
"cursor": "SGVsbG8gV29ybGQ"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.