capabilities.work

Azure API Management Define API Operation

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

Recipe · 3 steps

Azure API Management Define API Operation

Add an operation to an API and confirm it.

  1. Read the API to confirm it exists before adding an operation.
  2. Create or update the operation with a display name, HTTP method, and URL template.
  3. List the API's operations to confirm the new operation is present.
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 API identifier to add the operation to.
  • operationId: The operation identifier to create.
  • displayName: The operation display name.
  • method: The HTTP method (e.g. GET, POST).
  • urlTemplate: The operation URL template (e.g. /pets/{petId}).
For your developer

Arazzo workflow microsoft-azure-api-management:define-api-operation, 3 operations: Api_Get → ApiOperation_CreateOrUpdate → ApiOperation_ListByApi. Specs on APIs.io.