algolia/algoliasearch-client-php

feat: payload for Redirect rule in the search response

VladislavFitz opened this issue · 1 comments

Add support of the new query rule Redirect consequence to the API client.

The format of the new response field to add:

{
 "consequence": {
   "redirect": {
     "url": "https://redirect.to",
     "userParameters": {
       /* Custom user data
       "custom_key_1": "value_1",
       "custom_key_2": "value_2"
       */
     }
   }
 }
}

Internal specs issue: #148

Closed in favor of #152