GraphQL#
GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data.
Basic Operations#
- Query a GraphQL endpoint
Example Usage#
This workflow allows you to get information about the five most recent SpaceX launches from spacex.land. You can also find the workflow on the website. This example usage workflow uses the following two nodes. - Start - GraphQL
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. GraphQL node#
- Enter
https://api.spacex.land/graphql/
in the Endpoint field. - Select the 'JSON' option from the Request Format dropdown list.
- Enter the GraphQL query shown below in the Query field.
- Click on Execute Node to run the workflow.
GraphQL query#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|