GraphQL with Nautobot
Before we get into the details of using GraphQL with Nautobot, let’s review a short primer.
GraphQL primer
GraphQL serves as a query language designed for APIs, enabling users to programmatically request and retrieve data from an API endpoint or server. Using GraphQL to fetch data can transform how you think about APIs. If you remember one thing about GraphQL, it should be that GraphQL empowers you to precisely define the data you want to receive, even when it resides in multiple data silos (or in different data models, in Nautobot parlance). In contrast to REST API queries, a GraphQL query ensures that only the explicitly requested data is returned, even if it involves multiple objects.
A single GraphQL query provides the exact data that would otherwise necessitate multiple REST API calls and extensive filtering.
Note that Nautobot support for GraphQL is limited to read-only queries. Other GraphQL operations such as mutations and subscriptions...