
You can nest other components such as Text under the top-level List component in the Components tree. Set the value of the Source to one of the url fields.
Select the Image component and go to Properties Panel > Data tab. Airtables API is used to create, update or destroy data. Map the fields.Attachments array to the nested List component. Summary: Airtable is a cloud collaboration tool used to manipulate data in improved spreadsheets. Map the Airtable records array on the List component. Configure the GET request URL on the Fetch component. Airtable uses our API to make it fast (and fun) to find the perfect photo or video. The important thing in the Components below is to nest a List component inside another List. Swiggy API Order food online from restaurants and get it delivered. Initially, set up your screen Components tree as shown below. Let's learn how to map the value of the image URL coming from the Airtable Base to an Image component. In Step 5: click the Test button next to the Endpoint input to verify the response coming from the Airtable Base. Check the Update records tab back in your Airtable API documentation to get an idea of how your request is structured. This way, Airtable will know what field you are updating in the Base. Make sure to include the id of a particular field to update it. Below is a general breakdown of what the request's Body structure will look like. Click Body Preview to validate the structure of the Body in the request. In Step 2: add the /your-base-name/ for test values. This is found by going to your Account page in Airtable then clicking Generate API Key. Note that it is easy for users to remove the filter, so it should not be used in situations where security is an issue. It is possible to create a url to pre-set a filter for a shared view. Set the Object Type to groceries for this example. Welcome to the Airtable community Which api are you using If you are using the REST API, you cannot create a new view. Set the Role to Get One as the endpoint is fetching a single item.
Let’s take a closer look at each of them. Metadata API is used by developers to fetch information about the Airtable data itself. In Step 1: enter the Name for the endpoint and set the Method to GET. Airtable has two APIs, each with its own unique place in your workflow: REST API is Airtable’s open, or public, API, that lets you fetch record data.Open the API & Cloud Services modal from the top menu, select the Airtable service, and then: To fetch a single post from Airtable, you'll have to specify a record id that is coming from the navigation parameters.ĭata is fetched using a GET HTTP request. This action will let you navigate to the screen where a single record is fetched and its details are shown.
For reference, here is a how the Components tree looks like for this screen:Īlso, from the List screen, we are sending the id of each list item as a navigation parameter when an action is triggered on the Touchable/Button component. In this section, let's populate a Fetch component with a single record from the Airtable Base.