get https://{instance_zuid}.api.zesty.io/v1/search/items
Allows searching for contents by either ZUID, meta text values or path-related values. This accepts the follow query params:
| param | description |
|---|---|
| q | [string] Can be either a text string that refers to meta text values, path-related key values, or a ZUID of type content model, user or item. |
| limit | [int] The number of results to return. Allowed values are numbers between 1 to 1000. Default is 100. |
| page | [int] The offset of where the result should start. Usually used in combination with the limit parameter. |
| order | [string] What to order results by. Allowed values are created, modified and label. |
| dir | [string] Required if order key is provided. Determines the sorting direction in either ascending or descending. Allowed values are asc and desc. Default is desc. |
| start_date | [string] Aceptable date formats are yyyy/mm/dd (2022/01/31) and mm/dd/yyyy (01/31/2022). You can also use dashes (01-25-2022) as a separator. More info here: https://github.com/araddon/dateparse - Note: The filtering will be based on the item's updateAt value. |
| end_date | [string] Aceptable date formats are yyyy/mm/dd (2022/01/31) and mm/dd/yyyy (01/31/2022). You can also use dashes (01-25-2022) as a separator. More info here: https://github.com/araddon/dateparse - Note: The filtering will be based on the item's updateAt value. |
List of ZUID types that will do the search into for 'q' value:
- Content Models (6-0000-0000)
- Users (5-0000-0000)
- Items (7-0000-0000)
List of meta and path keys that will do the search into if 'q' value is not a ZUID:
- URL Path Part
- Full Path
- Navigation Link Text
- Meta Title
- Meta Description
- Meta Keywords
