Azure Container Registry Azure Container Registry API

The Azure Container Registry API from Azure Container Registry — 2 operation(s) for azure container registry.

GitHub OpenAPI

Operations 5

GET /{nextBlobUuidLink} Container registry blob get upload status #
PUT /{nextBlobUuidLink} Container registry blob complete upload #
PATCH /{nextBlobUuidLink} Container registry blob upload chunk #
DELETE /{nextBlobUuidLink} Container registry blob cancel upload #
GET /v2/ Container registry check docker V2Support #

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-azure-container-registry-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-azure-container-registry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Container Registry API
  version: '2021-07-01'
  description: Metadata API definition for the Azure Container Registry runtime
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- OAuth2Auth:
  - https://containerregistry.azure.net/.default
tags:
- name: Azure Container Registry
paths:
  /{nextBlobUuidLink}:
    get:
      operationId: ContainerRegistryBlob_GetUploadStatus
      description: 'Retrieve status of upload identified by uuid. The primary purpose of this

        endpoint is to resolve the current status of a resumable upload.'
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: nextBlobUuidLink
        in: path
        description: 'Link acquired from upload start or previous chunk. Note, do not include initial

          / (must do substring(1) )'
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
          headers:
            Docker-Upload-UUID:
              schema:
                type: string
            Range:
              description: Range indicating the current progress of the upload.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcrErrors'
      tags:
      - Azure Container Registry
      summary: Container registry blob get upload status
      x-summary-source: derived
    put:
      operationId: ContainerRegistryBlob_CompleteUpload
      description: 'Complete the upload, providing all the data in the body, if necessary. A

        request without a body will just complete the upload with previously uploaded

        content.'
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: digest
        in: query
        description: Digest of a BLOB
        required: true
        schema:
          type: string
      - name: nextBlobUuidLink
        in: path
        description: 'Link acquired from upload start or previous chunk. Note, do not include initial

          / (must do substring(1) )'
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '201':
          description: The request has succeeded and a new resource has been created as a result.
          headers:
            Docker-Content-Digest:
              description: Digest of the targeted content for the request.
              schema:
                type: string
            Location:
              description: Provided location for blob
              schema:
                type: string
            Range:
              description: Range indicating the current progress of the upload.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcrErrors'
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
        description: Optional raw data of blob
      tags:
      - Azure Container Registry
      summary: Container registry blob complete upload
      x-summary-source: derived
    patch:
      operationId: ContainerRegistryBlob_UploadChunk
      description: Upload a stream of data without completing the upload.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: nextBlobUuidLink
        in: path
        description: 'Link acquired from upload start or previous chunk. Note, do not include initial

          / (must do substring(1) )'
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          headers:
            Docker-Upload-UUID:
              description: Identifies the docker upload uuid for the current request.
              schema:
                type: string
            Location:
              description: Provided location for blob
              schema:
                type: string
            Range:
              description: Range indicating the current progress of the upload.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcrErrors'
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
        description: Raw data of blob
        required: true
      tags:
      - Azure Container Registry
      summary: Container registry blob upload chunk
      x-summary-source: derived
    delete:
      operationId: ContainerRegistryBlob_CancelUpload
      description: 'Cancel outstanding upload processes, releasing associated resources. If this is

        not called, the unfinished uploads will eventually timeout.'
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: nextBlobUuidLink
        in: path
        description: 'Link acquired from upload start or previous chunk. Note, do not include initial

          / (must do substring(1) )'
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '204':
          description: There is no content to send for this request, but the headers may be useful.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcrErrors'
      tags:
      - Azure Container Registry
      summary: Container registry blob cancel upload
      x-summary-source: derived
  /v2/:
    get:
      operationId: ContainerRegistry_CheckDockerV2Support
      description: Tells whether this Docker Registry instance supports Docker Registry HTTP API v2
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcrErrors'
      tags:
      - Azure Container Registry
      summary: Container registry check docker V2Support
      x-summary-source: derived
components:
  schemas:
    AcrErrorInfo:
      type: object
      description: Error information
      properties:
        code:
          type: string
          description: Error code
        message:
          type: string
          description: Error message
        detail:
          type: object
          description: Error details
    AcrErrors:
      type: object
      description: Acr error response describing why the operation failed
      properties:
        errors:
          type: array
          description: Array of detailed error
          items:
            $ref: '#/components/schemas/AcrErrorInfo'
  parameters:
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
  securitySchemes:
    OAuth2Auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            https://containerregistry.azure.net/.default: ''
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    in: path
    required: true
    type: string
    format: uri
    x-ms-skip-url-encoding: true
x-ms-paths:
  /v2/{name}/blobs/{digest}?_overload=checkChunkExists:
    head:
      operationId: ContainerRegistryBlob_CheckChunkExists
      description: Same as GET, except only the headers are returned.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: name
        in: path
        description: Name of the image (including the namespace)
        required: true
        type: string
      - name: digest
        in: path
        description: Digest of a BLOB
        required: true
        type: string
      - name: range
        in: header
        description: 'Format : bytes=<start>-<end>,  HTTP Range header specifying blob chunk.'
        required: true
        type: string
        x-ms-client-name: Range
      responses:
        '200':
          description: The request has succeeded.
          headers:
            Content-Length:
              type: integer
              format: int64
              description: The length of the requested blob content.
            Content-Range:
              type: string
              description: Content range of the blob chunk.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/components/schemas/AcrErrors'
  /v2/{name}/blobs/{digest}?_overload=getChunk:
    get:
      operationId: ContainerRegistryBlob_GetChunk
      description: 'Retrieve the blob from the registry identified by `digest`. This endpoint may

        also support RFC7233 compliant range requests. Support can be detected by

        issuing a HEAD request. If the header `Accept-Range: bytes` is returned, range

        requests can be used to fetch partial content.'
      produces:
      - application/octet-stream
      - application/json
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: name
        in: path
        description: Name of the image (including the namespace)
        required: true
        type: string
      - name: digest
        in: path
        description: Digest of a BLOB
        required: true
        type: string
      - name: range
        in: header
        description: 'Format : bytes=<start>-<end>,  HTTP Range header specifying blob chunk.'
        required: true
        type: string
        x-ms-client-name: Range
      responses:
        '206':
          description: Successful
          schema:
            type: string
            format: binary
          headers:
            Content-Length:
              type: integer
              format: int64
              description: The length of the requested blob content.
            Content-Range:
              type: string
              description: Content range of the blob chunk.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/components/schemas/AcrErrors'
  /v2/{name}/blobs/uploads/?_overload=startUpload:
    post:
      operationId: ContainerRegistryBlob_StartUpload
      description: Initiate a resumable blob upload with an empty request body.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: name
        in: path
        description: Name of the image (including the namespace)
        required: true
        type: string
      responses:
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          headers:
            Docker-Upload-UUID:
              type: string
              description: Identifies the docker upload uuid for the current request.
            Location:
              type: string
              description: Provided location for blob
            Range:
              type: string
              description: Range indicating the current progress of the upload.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/components/schemas/AcrErrors'