Hi there,
I am trying to get Bubble to return only some specific fields in GET.
I have tried 2 (undocumented) ways, but it doesn’t work:
/api/1.1/obj/[table]/[unique_ID]?fields=[field]
/api/1.1/obj/[table]/[unique_ID]/fields?[field]
I also tried replacing fields by key, etc… but it didn’t work.
Is it possible to get bubble to return only specific fields?
Thanks!
You can use the WF api. Create a backend workflow with the “return data” action. I’m not at a computer so I can’t verify but I’m pretty sure you can specify fields
Thanks for your reply… It’s unfortunately not an option as I need a single query to get any table, and any field…
No. If you were hitting your db via an sql connection direct. Sure. The data api doesn’t work that way.