Azure Container Registry Webhooks API

The Webhooks API from Azure Container Registry — 5 operation(s) for webhooks.

GitHub OpenAPI

Operations 8

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks Webhooks list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName} Webhooks get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName} Webhooks create #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName} Webhooks update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName} Webhooks delete #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig Webhooks get callback config #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents Webhooks list events #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping Webhooks ping #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-container-registry:azure-container-registry-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-container-registry-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ContainerRegistryManagementClient Webhooks API
  version: '2025-11-01'
  description: The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Webhooks
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks
  : get:
      operationId: Webhooks_List
      tags:
      - Webhooks
      description: Lists all the webhooks for the specified container registry.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Webhooks list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
  : get:
      operationId: Webhooks_Get
      tags:
      - Webhooks
      description: Gets the properties of the specified webhook.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Webhooks get
      x-summary-source: derived
    put:
      operationId: Webhooks_Create
      tags:
      - Webhooks
      description: Creates a webhook for a container registry with the specified parameters.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Resource 'Webhook' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '201':
          description: Resource 'Webhook' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/Webhook'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookCreateParameters'
        description: The parameters for creating a webhook.
        required: true
      summary: Webhooks create
      x-summary-source: derived
    patch:
      operationId: Webhooks_Update
      tags:
      - Webhooks
      description: Updates a webhook with the specified parameters.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '201':
          description: Resource 'Webhook' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/Webhook'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookUpdateParameters'
        description: The parameters for updating a webhook.
        required: true
      summary: Webhooks update
      x-summary-source: derived
    delete:
      operationId: Webhooks_Delete
      tags:
      - Webhooks
      description: Deletes a webhook from a container registry.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Webhooks delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig
  : post:
      operationId: Webhooks_GetCallbackConfig
      tags:
      - Webhooks
      description: Gets the configuration of service URI and custom headers for the webhook.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallbackConfig'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Webhooks get callback config
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents
  : post:
      operationId: Webhooks_ListEvents
      tags:
      - Webhooks
      description: Lists recent events for the specified webhook.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Webhooks list events
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping
  : post:
      operationId: Webhooks_Ping
      tags:
      - Webhooks
      description: Triggers a ping event to be sent to the webhook.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: registryName
        in: path
        description: The name of the container registry.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      - name: webhookName
        in: path
        description: The name of the webhook.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 5
          pattern: ^[a-zA-Z0-9]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventInfo'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Webhooks ping
      x-summary-source: derived
components:
  schemas:
    Event:
      type: object
      description: The event for a webhook.
      properties:
        eventRequestMessage:
          $ref: '#/components/schemas/EventRequestMessage'
          description: The event request message sent to the service URI.
        eventResponseMessage:
          $ref: '#/components/schemas/EventResponseMessage'
          description: The event response message received from the service URI.
      allOf:
      - $ref: '#/components/schemas/EventInfo'
    WebhookCreateParameters:
      type: object
      description: The parameters for creating a webhook.
      properties:
        tags:
          type: object
          description: The tags for the webhook.
          additionalProperties:
            type: string
        location:
          type: string
          description: The location of the webhook. This cannot be changed after the resource is created.
        properties:
          $ref: '#/components/schemas/WebhookPropertiesCreateParameters'
          description: The properties that the webhook will be created with.
          x-ms-client-flatten: true
      required:
      - location
    TrackedResource:
      type: object
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    CallbackConfig:
      type: object
      description: The configuration of service URI and custom headers for the webhook.
      properties:
        serviceUri:
          type: string
          description: The service URI for the webhook to post notifications.
        customHeaders:
          type: object
          description: Custom headers that will be added to the webhook notifications.
          additionalProperties:
            type: string
      required:
      - serviceUri
    WebhookPropertiesCreateParameters:
      type: object
      description: The parameters for creating the properties of a webhook.
      properties:
        serviceUri:
          type: string
          format: password
          description: The service URI for the webhook to post notifications.
          x-ms-secret: true
        customHeaders:
          type: object
          format: password
          description: Custom headers that will be added to the webhook notifications.
          additionalProperties:
            type: string
          x-ms-secret: true
        status:
          $ref: '#/components/schemas/WebhookStatus'
          description: The status of the webhook at the time the operation was called.
        scope:
          type: string
          description: The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
        actions:
          type: array
          description: The list of actions that trigger the webhook to post notifications.
          items:
            $ref: '#/components/schemas/WebhookAction'
      required:
      - serviceUri
      - actions
    WebhookProperties:
      type: object
      description: The properties of a webhook.
      properties:
        status:
          $ref: '#/components/schemas/WebhookStatus'
          description: The status of the webhook at the time the operation was called.
        scope:
          type: string
          description: The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
        actions:
          type: array
          description: The list of actions that trigger the webhook to post notifications.
          items:
            $ref: '#/components/schemas/WebhookAction'
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the webhook at the time the operation was called.
          readOnly: true
      required:
      - actions
    WebhookStatus:
      type: string
      description: The status of the webhook at the time the operation was called.
      enum:
      - enabled
      - disabled
      x-ms-enum:
        name: WebhookStatus
        modelAsString: true
        values:
        - name: enabled
          value: enabled
        - name: disabled
          value: disabled
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    ProvisioningState:
      type: string
      description: The provisioning state of the archive at the time the operation was called.
      enum:
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Creating
          value: Creating
        - name: Updating
          value: Updating
        - name: Deleting
          value: Deleting
        - name: Succeeded
          value: Succeeded
        - name: Failed
          value: Failed
        - name: Canceled
          value: Canceled
    WebhookListResult:
      type: object
      description: The result of a request to list webhooks for a container registry.
      properties:
        value:
          type: array
          description: The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.
          items:
            $ref: '#/components/schemas/Webhook'
        nextLink:
          type: string
          description: The URI that can be used to request the next list of webhooks.
    WebhookAction:
      type: string
      enum:
      - push
      - delete
      - quarantine
      - chart_push
      - chart_delete
      x-ms-enum:
        name: WebhookAction
        modelAsString: true
        values:
        - name: push
          value: push
        - name: delete
          value: delete
        - name: quarantine
          value: quarantine
        - name: chart_push
          value: chart_push
        - name: chart_delete
          value: chart_delete
    WebhookUpdateParameters:
      type: object
      description: The parameters for updating a webhook.
      properties:
        tags:
          type: object
          description: The tags for the webhook.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/WebhookPropertiesUpdateParameters'
          description: The properties that the webhook will be updated with.
          x-ms-client-flatten: true
    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.
    WebhookPropertiesUpdateParameters:
      type: object
      description: The parameters for updating the properties of a webhook.
      properties:
        serviceUri:
          type: string
          format: password
          description: The service URI for the webhook to post notifications.
          x-ms-secret: true
        customHeaders:
          type: object
          format: password
          description: Custom headers that will be added to the webhook notifications.
          additionalProperties:
            type: string
          x-ms-secret: true
        status:
          $ref: '#/components/schemas/WebhookStatus'
          description: The status of the webhook at the time the operation was called.
        scope:
          type: string
          description: The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
        actions:
          type: array
          description: The list of actions that trigger the webhook to post notifications.
          items:
            $ref: '#/components/schemas/WebhookAction'
    EventInfo:
      type: object
      description: The basic information of an event.
      properties:
        id:
          type: string
          description: The event ID.
    Source:
      type: object
      description: The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
      properties:
        addr:
          type: string
          description: The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
        instanceID:
          type: string
          description: The running instance of an application. Changes after each restart.
    EventListResult:
      type: object
      description: The result of a request to list events for a webhook.
      properties:
        value:
          type: array
          description: The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
          items:
            $ref: '#/components/schemas/Event'
        nextLink:
          type: string
          description: The URI that can be used to request the next list of events.
    EventResponseMessage:
      type: object
      description: The event response message received from the service URI.
      properties:
        content:
          type: string
          description: The content of the event response message.
        headers:
          type: object
          description: The headers of the event response message.
          additionalProperties:
            type: string
        reasonPhrase:
          type: string
          description: The reason phrase of the event response message.
        statusCode:
          type: string
          description: The status code of the event response message.
        version:
          type: string
          description: The HTTP message version.
    EventRequestMessage:
      type: object
      description: The event request message sent to the service URI.
      properties:
        content:
          $ref: '#/components/schemas/EventContent'
          description: The content of the event request message.
        headers:
          type: object
          description: The headers of the event request message.
          additionalProperties:
            type: string
        method:
          type: string
          description: The HTTP method used to send the event request message.
        requestUri:
          type: string
          description: The URI used to send the event request message.
        version:
          type: string
          description: The HTTP message version.
    EventContent:
      type: object
      description: The content of the event request message.
      properties:
        id:
          type: string
          description: The event ID.
        timestamp:
          type: string
          format: date-time
          description: The time at which the event occurred.
        action:
          type: string
          description: The action that encompasses the provided event.
        target:
          $ref: '#/components/schemas/Target'
          description: The target of the event.
        request:
          $ref: '#/components/schemas/Request'
          description: The request that generated the event.
        actor:
          $ref: '#/components/schemas/Actor'
          description: The agent that initiated the event. For most situations, this could be from the authorization context of the request.
        source:
          $ref: '#/components/schemas/Source'
          description: The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
    Request:
      type: object
      description: The request that generated the event.
      properties:
        id:
          type: string
          description: The ID of the request that initiated the event.
        addr:
          type: string
          description: The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
        host:
          type: string
          description: The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
        method:
          type: string
          description: The request method that generated the event.
        useragent:
          type: string
          description: The user agent header of the request.
    Target:
      type: object
      description: The target of the event.
      properties:
        mediaType:
          type: string
          description: The MIME type of the referenced object.
        size:
          type: integer
          format: int64
          description: The number of bytes of the content. Same as Length field.
        digest:
          type: string
          description: The digest of the content, as defined by the Registry V2 HTTP API Specification.
        length:
          type: integer
          format: int64
          description: The number of bytes of the content. Same as Size field.
        repository:
          type: string
          description: The repository name.
        url:
          type: string
          description: The direct URL to the content.
        tag:
          type: string
          description: The tag name.
        name:
          type: string
          description: The name of the artifact.
        version:
          type: string
          description: The version of the artifact.
    Webhook:
      type: object
      description: An object that represents a webhook for a container registry.
      properties:
        properties:
          $ref: '#/components/schemas/WebhookProperties'
          description: The properties of the webhook.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    Actor:
      type: object
      description: The agent that initiated the event. For most situations, this could be from the authorization context of the request.
      properties:
        name:
          type: string
          description: The subject or username associated with the request context that generated the event.
  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
    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
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  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.