capabilities.work

Inspect a REST API Method

A 3-step recipe with Amazon API Gateway. We can help you get access.

Recipe · 3 steps

Inspect a REST API Method

Resolve a resource and read its method configuration.

  1. Confirm the REST API exists.
  2. List resources to resolve a target resource id.
  3. Read the method configuration for the resolved resource and HTTP verb.
What you'll need to have ready
  • restApiId: Identifier of the REST API to inspect.
  • httpMethod: HTTP verb of the method to read.
For your developer

Arazzo workflow aws-api-gateway:inspect-rest-api-method, 3 operations: GetRestApi → GetResources → GetMethod. Specs on APIs.io.