REST API: How to get multi select data
HI Twenty team!
When using the REST API, I can sucesfully use find many companies to get information about companies. It contains many useful details.
But, it does not return information about multi select fields. Is this intentional missing and there is another way for me to retrive this information? Or is it an upcoming feature or bug?
Appreciate the great product and your help,
Rob
10 Replies
Simillarly, is it possible to filter by multi select when using find many companies?
I can't seem to get it to work. Any pointers would be appreciated.
E.g.
I think this is the same issue as https://github.com/twentyhq/twenty/issues/5358
Sorry for the duplicate, I forgot front and backend are linked 😉
GitHub
Multi Select cannot filter · Issue #5358 · twentyhq/twenty
I create MultiSelect, but cannot filter it.
Hi @Rob, sorry for the late answer.
@martmull could you check the REST api tomorrow regarding the ability to return multi select in the response?
Regarding the ability to filter by multi-select, this is currently a known limitation of an underlying postgres extension (pg_graphql) we are using. We are planning to get rid of pg_graphql before the end of the year but it's a long term effort
@charles @Rob here is the fix for missing multi-select in rest api responses. Added a test to not forget to update rest api when adding new fieldMetadataType https://github.com/twentyhq/twenty/pull/6253
That’s amazing! Thanks so much
hey guys! @martmull server url would be just for api use in the future? and front base the actual front end user?
@lucas lima sorry I don't fully understand your question, you are talking about environment variables
SERVER_URL
and FRONT_BASE_URL
isn't it?
If yes, SERVER_URL is used by the twenty-front
package also
FRONT_BASE_URL is used by the twenty-server
package mostly to compute redirect urls@martmull yes! I was thinking that would be one of then for api use and the another one to access the twenty!
I'm using the same address for the both
Would be great if the kan ban screen update realtime or something like this, or every 5min or some enviroment option
yes, we planned to investigate websocket real time updates
Likely later this year 🙂