Execute GraphQL query
documentedSubmit a GraphQL query to the Drupal GraphQL endpoint.
POST /graphqlGraphQLno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.drupal.org/graphql" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Drupal-Api-Key: {{DRUPAL_API_KEY}}" \
-H "X-Drupal-Secret: {{DRUPAL_SECRET}}" \
-d '{"query": "query ($id: ID!) { article(id: $id) { id title } }", "variables": {"id": {{$article_id}}}}'