portable-cto / airtable-proxy-worker

A Cloudflare Worker that allows you to make secure requests to the Airtable API from your frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to filter fields

florisporro opened this issue · comments

It would be great if there was a way to filter which fields / columns are available through the API

I've created views in Airtable to filter the data and then added a ENV variables in Cloudfare to have the view I need. Not perfect but it works and protect the data.

@pangeli that's a good idea, I'll explore that

@florisporro let me know if that works for you and we can close this issue.

While I also like the idea of filtering fields, I'd like to keep this package minimal and put more of the work on Airtable if possible.

@karllhughes the solution suggested by @pangeli is good, but in order to do it there has to be a way to add a view to the resource whitelist instead of a table.