capabilities.work

Azure API Management Configure GraphQL Resolver

A 3-step recipe with Microsoft Azure API Management. We can help you get access.

Recipe · 3 steps

Azure API Management Configure GraphQL Resolver

Attach a resolver to a GraphQL API and confirm it.

  1. Read the GraphQL API to confirm it exists before attaching a resolver.
  2. Create or update the resolver bound to the supplied type and field.
  3. List the API's resolvers to confirm the new resolver is registered.
What you'll need to have ready
  • subscriptionId: The Azure subscription identifier.
  • resourceGroupName: The resource group containing the service.
  • serviceName: The API Management service name.
  • apiId: The GraphQL API identifier.
  • resolverId: The resolver identifier to create.
  • displayName: The resolver display name.
  • path: The GraphQL type and field the resolver binds to (e.g. Query/users).
For your developer

Arazzo workflow microsoft-azure-api-management:configure-graphql-resolver, 3 operations: Api_Get → GraphQLApiResolver_CreateOrUpdate → GraphQLApiResolver_ListByApi. Specs on APIs.io.