Create a search using SQL-like syntax to return items that match specific metadata.
By default, this endpoint returns only the most basic info about the items for
which the query matches. To get additional fields for each item, including any
of the metadata, use the fields attribute in the query.
The access token received from the authorization server in the OAuth 2.0 flow.
Create a search using SQL-like syntax to return items that match specific metadata.
Specifies the template used in the query. Must be in the form
scope.templateKey. Not all templates can be used in this field,
most notably the built-in, Box-provided classification templates
can not be used in a query.
"enterprise_123456.someTemplate"
The ID of the folder that you are restricting the query to. A value of zero will return results from all folders you have access to. A non-zero value will only return results found in the folder corresponding to the ID or in any of its subfolders.
"0"
The query to perform. A query is a logical expression that is very similar
to a SQL SELECT statement. Values in the search query can be turned into
parameters specified in the query_param arguments list to prevent having
to manually insert search values into the query string.
For example, a value of :amount would represent the amount value in
query_params object.
"value >= :amount"
Set of arguments corresponding to the parameters specified in the
query. The type of each parameter used in the query_params must match
the type of the corresponding metadata template field.
{ "amount": "100" }A list of template fields and directions to sort the metadata query results by.
The ordering direction must be the same for each item in the array.
A value between 0 and 100 that indicates the maximum number of results to return for a single request. This only specifies a maximum boundary and will not guarantee the minimum number of results returned.
0 <= x <= 10050
Marker to use for requesting the next page.
"AAAAAmVYB1FWec8GH6yWu2nwmanfMh07IyYInaa7DZDYjgO1H4KoLW29vPlLY173OKsci6h6xGh61gG73gnaxoS+o0BbI1/h6le6cikjlupVhASwJ2Cj0tOD9wlnrUMHHw3/ISf+uuACzrOMhN6d5fYrbidPzS6MdhJOejuYlvsg4tcBYzjauP3+VU51p77HFAIuObnJT0ff"
By default, this endpoint returns only the most basic info about the items for which the query matches. This attribute can be used to specify a list of additional attributes to return for any item, including its metadata.
This attribute takes a list of item fields, metadata template identifiers, or metadata template field identifiers.
For example:
created_by will add the details of the user who created the item to
the response.metadata.<scope>.<templateKey> will return the mini-representation
of the metadata instance identified by the scope and templateKey.metadata.<scope>.<templateKey>.<field> will return all the mini-representation
of the metadata instance identified by the scope and templateKey plus
the field specified by the field name. Multiple fields for the same
scope and templateKey can be defined.[
"extension",
"created_at",
"item_status",
"metadata.enterprise_1234.contracts",
"metadata.enterprise_1234.regions.location"
]Returns a list of files and folders that match this metadata query.
A page of files and folders that matched the metadata query.
The mini representation of the files and folders that match the search terms.
By default, this endpoint returns only the most basic info about the
items. To get additional fields for each item, including any of the
metadata, use the fields attribute in the query.
A full representation of a file, as can be returned from any file API endpoints by default.
The limit that was used for this search. This will be the same as the
limit query parameter unless that value exceeded the maximum value
allowed.
100
The marker for the start of the next page of results.
"0!-M7487OpVfBTNBV-XsQjU50gQFlbFFu5nArMWD7Ck61GH_Qo40M1S2xN5zWZPBzEjaQS1SOjJiQoo5BsXEl1bCVLRZ2pTqo4SKp9tyqzWQK2L51KR_nC1EgF5I_TJSFw7uO2Bx4HweGETOjh5_2oPSWw5iMkM-OvGApeR0lGFO48FDKoyzJyLgz5aogxoKd8VE09CesOOnTnmZvrW0puylDc-hFjY5YLmWFBKox3SOWiSDwKFkmZGNHyjEzza1nSwbZg6CYsAdGsDwGJhuCeTNsFzP5Mo5qx9wMloS0lSPuf2CcBInbIJzl2CKlXF3FvqhANttpm2nzdBTQRSoJyJnjVBpf4Q_HjV2eb4KIZBBlLy067UCVdv2AAWQFd5E2i6s1YiGRTtgMEZntOSUYD4IYLMWWm5Ra7ke_SP32SL3GSjbBQYIyCVQ.."