Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.66 KB

Redirect.md

File metadata and controls

19 lines (14 loc) · 1.66 KB

Redirect

Redirect contains a target that you can redirect users to if their search query matches a certain condition.

Properties

Name Type Description Notes
condition str A condition expression applied to a search request that determines whether a search is redirected. For example, to redirect if the user's query is `apples`, set condition to `q = 'apples'`.
target str The target to redirect the user to if their query matches `condition`. For searches performed in a browser, target is usually a URL but it can be any value that your integration can interpret as a redirect. For example, for URLs that you need to resolve at runtime, target might be a URL template string. For apps, target might be a unique identifier used to send the user to the correct view.
collection_id str The ID of the collection that owns this redirect. [optional] [readonly]
create_time datetime The time the redirect was created. [optional] [readonly]
disabled bool If disabled, the redirect is never triggered. [optional]
id str The redirect's ID. [optional] [readonly]
update_time datetime The time the redirect was last updated. [optional] [readonly]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

[Back to Model list] [Back to API list] [Back to README]