globalSearch
Global search matches, grouped by record type. The globalSearch query in Bunny's GraphQL API, with its arguments, return type and an example request.
Scope required: standard:read
For a complete list of possible response fields see the GlobalSearch type.
query globalSearch ($text: String!, $types: [GlobalSearchRecord!], $perType: Int) {
globalSearch (text: $text, types: $types, perType: $perType) {
}
}
ArgumentsLink to Arguments section
| Name | Type | Description |
|---|---|---|
| text | String | At least 2 characters |
| types | List (GlobalSearchRecord) | Only these types; all when absent |
| perType | Int | Results per type, 1 to 20 |