Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Join any OpenAPI or Swagger Rest API with Postgres using Hasura Remote Joins

Blog post from Hasura

Post Details
Company
Date Published
Author
Praveen Durairaju
Word Count
344
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

This post discusses how Hasura Remote Joins can be used to join data from a Postgres database with any OpenAPI/Swagger compliant REST API. The example provided demonstrates joining users table data in Postgres with exchange rate data from an OpenAPI service, which is a currency exchange rate API. By adding the OpenAPI service as a Remote Schema using Hasura Console and creating a remote relationship called "currency_rates," it becomes possible to query both sets of data in a single API call. The GraphQL query for this operation includes nested queries from the exchange rate API, which filters the results based on the user's currency.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.