Hi there, I am trying to be able to assign certain fields to cards that I created inside my CRM Items. I should be able to have a dropdown with all of the fields related to a Table my Xano database.
This is possible with the Metadata API, but I’ve not able to actually make any API calls, since the auth token is not being taken (either because I am not putting it right or because what I’m trying to do may not be possible in We Web).
Does any of you have an idea on how I could do fetch the schema?
FYI - Already used Rest API Plugin, and tried using Xano collections. They only link up to the Table level.
Hi, the Metadata API is an admin api. It’s not made to be used by a front end application. We use it in the WeWeb editor in order to retrieve information about your Xano instance and allowing you to setup your collection and action faster.
To use the metadata API you need to put your key in a REST API action header, but be aware you will expose the key and allow everyone to use it with the permissions you added on the key.
Thank you for your response. Could I apply read-only scopes for a Metadata API and some role-based access for only allowed users to call/see the endpoint?