settings
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
"ALGOLIA_INDEX_NAME"
Body
Rules search parameters.
Search query for rules.
Which part of the search query the pattern should match:
startsWith
. The pattern must match the beginning of the query.endsWith
. The pattern must match the end of the query.is
. The pattern must match the query exactly.contains
. The pattern must match anywhere in the query.
Empty queries are only allowed as patterns with anchoring: is
.
is
, startsWith
, endsWith
, contains
Only return rules that match the context (exact match).
"mobile"
Requested page of the API response.
Algolia uses page
and hitsPerPage
to control how search results are displayed (paginated).
hitsPerPage
: sets the number of search results (hits) displayed per page.page
: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page ispage=0
, the second ispage=1
, and so on.
For example, to display 10 results per page starting from the third page, set hitsPerPage
to 10 and page
to 2.
x >= 0
Maximum number of hits per page.
Algolia uses page
and hitsPerPage
to control how search results are displayed (paginated).
hitsPerPage
: sets the number of search results (hits) displayed per page.page
: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page ispage=0
, the second ispage=1
, and so on.
For example, to display 10 results per page starting from the third page, set hitsPerPage
to 10 and page
to 2.
1 <= x <= 1000
If true
, return only enabled rules.
If false
, return only inactive rules.
By default, all rules are returned.