Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: ApiManagementClient Tag Resource API
description: Use these REST APIs for querying APIs. Operations and Products by tags in your Azure API Management deployment.
version: '2024-05-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: Tag Resource
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources
: get:
tags:
- Tag Resource
operationId: TagResource_ListByService
description: Lists a collection of resources associated with tags.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- name: $filter
in: query
required: false
description: '| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| aid | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| apiName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| apiRevision | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| state | filter | eq | |</br>| isCurrent | filter | eq | |</br>'
schema:
type: string
- $ref: '#/components/parameters/TopQueryParameter'
- $ref: '#/components/parameters/SkipQueryParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Lists a collection of TagResource entities.
content:
application/json:
schema:
$ref: '#/components/schemas/TagResourceCollection'
default:
description: Error response describing why the operation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
x-ms-odata: ./definitions.json#/definitions/TagResourceContract
summary: Tag resource list by service
x-summary-source: derived
components:
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
TopQueryParameter:
name: $top
in: query
required: false
description: Number of records to return.
x-ms-parameter-location: method
schema:
type: integer
format: int32
minimum: 1
SkipQueryParameter:
name: $skip
in: query
required: false
description: Number of records to skip.
x-ms-parameter-location: method
schema:
type: integer
format: int32
minimum: 0
ServiceNameParameter:
name: serviceName
in: path
required: true
description: The name of the API Management service.
x-ms-parameter-location: method
schema:
type: string
maxLength: 50
minLength: 1
pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
schemas:
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
TagResourceCollection:
type: object
properties:
value:
type: array
items:
$ref: '#/components/schemas/TagResourceContract'
x-ms-identifiers:
- tag/id
description: Page values.
count:
type: integer
format: int64
description: Total record count number across all pages.
nextLink:
type: string
description: Next page link if any.
description: Paged Tag list representation.
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.