#community-help

Modifying API Response Labels with Typesense and Algolia

TLDR Ivan inquired about modifying api response labels with typesense/algoila. Jason suggested using client side item transformation.

Powered by Struct AI
4
16mo
Solved
Join the chat
Jun 14, 2022 (17 months ago)
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
09:01 AM
Hi, does anybody know if there is any way to provide different label to the item came from api response? that how it came from our typesense(1 photo)
And that how i see when rendering from state in algolia refinement widget(2 photo). Is there any way on server side to make different label and value for fields?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:27 PM
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
02:39 PM
Jason thanks, i also supposed that it can be done on client side, it's a pity that it can't be done on server side, but anyway thanks for answer🙂
Jun 24, 2022 (16 months ago)
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
01:58 PM
Andrew