swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Repositories API description: Operations for managing repositories schemes: - https tags: - name: Repositories description: Operations for managing repositories paths: /acr/v1/{name}: get: operationId: Repository_GetAttributes summary: Microsoft Azure Get Repository Attributes description: Get repository attributes. tags: - Repositories parameters: - $ref: '#/components/parameters/RepositoryNameParameter' responses: '200': description: Successfully returned repository attributes. content: application/json: schema: $ref: '#/components/schemas/RepositoryAttributes' examples: RepositoryGetattributes200Example: summary: Default Repository_GetAttributes 200 response x-microcks-default: true value: registry: example_value imageName: example_value createdTime: '2026-01-15T10:30:00Z' lastUpdateTime: '2026-01-15T10:30:00Z' manifestCount: 10 tagCount: 10 changeableAttributes: deleteEnabled: true writeEnabled: true listEnabled: true readEnabled: true teleportEnabled: true default: description: ACR error response. content: application/json: schema: $ref: '#/components/schemas/AcrErrors' examples: RepositoryGetattributesdefaultExample: summary: Default Repository_GetAttributes default response x-microcks-default: true value: errors: - code: example_value message: example_value detail: example_value x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: operationId: Repository_Delete summary: Microsoft Azure Delete a Repository description: Delete the repository identified by name. tags: - Repositories parameters: - $ref: '#/components/parameters/RepositoryNameParameter' responses: '202': description: The repository was accepted for deletion. content: application/json: schema: $ref: '#/components/schemas/DeletedRepository' examples: RepositoryDelete202Example: summary: Default Repository_Delete 202 response x-microcks-default: true value: manifestsDeleted: - example_value tagsDeleted: - example_value default: description: ACR error response. content: application/json: schema: $ref: '#/components/schemas/AcrErrors' examples: RepositoryDeletedefaultExample: summary: Default Repository_Delete default response x-microcks-default: true value: errors: - code: example_value message: example_value detail: example_value x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: operationId: Repository_UpdateAttributes summary: Microsoft Azure Update Repository Attributes description: Update the attribute identified by name where reference is the tag or digest. tags: - Repositories parameters: - $ref: '#/components/parameters/RepositoryNameParameter' requestBody: content: application/json: schema: $ref: '#/components/schemas/RepositoryChangeableAttributes' examples: RepositoryUpdateattributesRequestExample: summary: Default Repository_UpdateAttributes request x-microcks-default: true value: deleteEnabled: true writeEnabled: true listEnabled: true readEnabled: true teleportEnabled: true responses: '200': description: Successfully updated repository attributes. default: description: ACR error response. content: application/json: schema: $ref: '#/components/schemas/AcrErrors' examples: RepositoryUpdateattributesdefaultExample: summary: Default Repository_UpdateAttributes default response x-microcks-default: true value: errors: - code: example_value message: example_value detail: example_value x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: AcrErrors: type: object description: ACR error response. properties: errors: type: array items: $ref: '#/components/schemas/AcrErrorInfo' description: Array of detailed error information. example: [] RepositoryAttributes: type: object description: Repository attributes. properties: registry: type: string description: Registry name. example: example_value imageName: type: string description: Image name. example: example_value createdTime: type: string format: date-time description: Image created time. example: '2026-01-15T10:30:00Z' lastUpdateTime: type: string format: date-time description: Image last update time. example: '2026-01-15T10:30:00Z' manifestCount: type: integer description: Number of manifests. example: 10 tagCount: type: integer description: Number of tags. example: 10 changeableAttributes: $ref: '#/components/schemas/RepositoryChangeableAttributes' RepositoryChangeableAttributes: type: object description: Changeable attributes for a repository. properties: deleteEnabled: type: boolean description: Whether delete is enabled. example: true writeEnabled: type: boolean description: Whether write is enabled. example: true listEnabled: type: boolean description: Whether list is enabled. example: true readEnabled: type: boolean description: Whether read is enabled. example: true teleportEnabled: type: boolean description: Whether teleport is enabled. example: true AcrErrorInfo: type: object description: Error information. properties: code: type: string description: Error code. example: example_value message: type: string description: Error message. example: example_value detail: type: object description: Error details. example: example_value DeletedRepository: type: object description: Deleted repository result. properties: manifestsDeleted: type: array items: type: string description: Digests of manifests deleted. example: [] tagsDeleted: type: array items: type: string description: Tags deleted. example: [] parameters: RepositoryNameParameter: name: name in: path required: true description: Name of the image (including the namespace). schema: type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'