Sign in

Query GraphQL space (POST) with environment

documented

Submit a GraphQL query to a space/environment via POST.

POST /content/v1/spaces/{space}/environments/{environment}GraphQLno implementation yet0 runs
No 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://graphql.contentful.com/content/v1/spaces/{{$space}}/environments/{{$environment}}" \
  -X POST \
  -H "Authorization: Bearer {{CONTENTFUL_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"query": "{{$graphql_query}}", "variables": {{$graphql_variables}} }'
Query GraphQL space (POST) with environment · Contentful · OpenIntegrations