RenameattributesToRetrieve
from the documents API.
#440
Locked
gmourier
started this conversation in
Feedback & Feature Proposal
Replies: 3 comments 2 replies
-
Why not simply |
Beta Was this translation helpful? Give feedback.
2 replies
-
So |
Beta Was this translation helpful? Give feedback.
0 replies
-
Following the v0.28 release, this discussion is now locked. We encourage you to create a new thread if needed. Thank you ✨ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why?
The documents API is used to manage documents within an index.
Since we are touching the documents API to remove the fact
displayeAttributes
setting impacts this API, I think we should also renameattributesToRetrieve
on this API and use a generic name that does not collide with the search endpoints.I would propose something like
fieldset
e.g.fieldset=title,name,price
which would work exactly likeattributesToRetrieve
today on the documents API but could be used generically on other APIs likeTask
,Indexes
,API Keys
etc in the future. It would not be bounded toattributesToRetrieve
which is kept on thesearch
endpoints.In this way, we will have endpoints dedicated to resource API management consistent with each other, while search uses its own, more contextualized term akka
attributesToRetrieve
Beta Was this translation helpful? Give feedback.
All reactions