You’ll also need to define the API key as a variable inside your new environment. To create a new Postman Environment, select the Environments button in the right-hand side navigation menu. We’ve already set up a recommended variable name for you to use inside the collection: new_relic_api_key, so you need only to define its value inside your new Environment. Then, create a Postman Environment and define it as a variable. You can find your API key in New Relic One under the API Keys section. Next, provide your API key to your copy of the collection. From there, you can select to the API collection, which will open either in your browser or inside your Postman client. Get started with the Postman Nerdgraph API collectionįirst, visit the API collection homepage at. How does the auto-complete work so well? Postman refreshes the schema from New Relic’s Nerdgraph automatically for you, so that you always have access to the most up-to-date suggestions when using the New Relic API collection. The example video below demonstrates this, click on the link to see it in action! For example, if you are querying for your account data, as soon as you begin typing, Postman suggests next steps for you. One of the major benefits of using the Postman Nerdgraph API collection is that you get auto-complete support for your queries right away. Let’s take a look at how the new Postman API collection for Nerdgraph can help you in your work with New Relic. API collections in Postman come with benefits such as error detection in query formulation, auto-suggestions, the ability to define variables to use across requests, and more. An API collection in Postman is a group of saved requests and descriptions that are editable and customizable by the user. It enables seamless collaboration and experimentation in a graphical interface that is friendly for both the newcomer and the veteran to API development. Postman is a tool that helps you use and build with APIs. We’ve added a new resource for you to learn about queries with the new Nerdgraph API collection on Postman. Use the new Nerdgraph API collection with Postman The New Relic Nerdgraph documentation and the New Relic GraphQL explorer are excellent places to begin when learning how to use queries. While GraphQL can be a very powerful tool in working with your New Relic data, you may not know right away what to put in a query or how to structure one. Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |