Target URL | /api.php/files/search/ |
Required scope | list |
HTTP Method | POST |
Output format | JSON |
Request Parameters Reference
Parameter | Type | Required | Description |
---|---|---|---|
path | string | Yes | /ROOT/HOME - search inside the user's home folder (My Files) /ROOT/123/456 - search inside the share with ID 456 owned by user with ID 123.| |filename|string|No| | |metatype|integer|No|ID of metadata file type. Get this from the FileRun control panel.| |meta|array|No|The keys are metadata fields IDs, you can find them in FileRun's control panel. The key can also be any of the following strings: tag , rating , label , comment , or the character - for searching any field. The values are array of keywords to be searched for. |
contents | string | No | Keyword to search files contents. Cannot be combined with any other search criteria. |
details | array | No | Same as here. |
For additional details please see this page.