This API call is used to search files using JSON based query.
Resource URL
/api/1.0/file/search
Resource Information
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Requests / 15-min window (user auth) | 15 |
HTTP Method | POST |
Response code | 200 |
Parameters
Name | Type | Default Value | Validation | Description |
_and optional | JSON[] | - | - | array of JSON values. Groups them as logical AND in query |
_or optional | JSON[] | - | - | array of JSON values. Groups them as logical OR in query |
name optional | string | - | string | matched as substring in file name |
created optional | int | - | timestamp | file creation timestamp |
modified | int | - | timestamp | file modification timestamp |
Example Request URL
Example Search Query
{ "_and": [ { "created":{"_and": [1421193600]}, "name":{ "_and": ["test"], "_or": ["111", "222"] } } ], "_or": [ { "modified": {"_and": } } ] }
Example Result
[ <file metadata>, ... ]
Add Comment