Quatrix APIs v1.0
Space shortcuts
Quatrix APIs v1.0 QA1
Skip to end of metadata
Go to start of metadata

This API call is used to search files using JSON based query.

Resource URL

/api/1.0/file/search

Resource Information

 

Response formatsJSON
Requires authentication?Yes
Rate limited?Yes
Requests / 15-min window (user auth)15
HTTP MethodPOST
Response code200

Parameters

 

Name TypeDefault ValueValidationDescription

_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-stringmatched as substring in file name

created

optional

int-timestampfile creation timestamp
modifiedint-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>,
	...
]

 

 

 

 

 

 

 

  • No labels
Write a comment…
Quatrix APIs v1.0 QA1