swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ListManagementImageLists API schemes: - https tags: - name: ListManagementImageLists paths: /contentmoderator/lists/v1.0/imagelists/{listId}: get: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsGetdetails description: Returns the details of the image list with listId equal to the passed list ID. parameters: - $ref: '#/parameters/listId' responses: '200': description: OK. schema: $ref: '#/definitions/ImageList' default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Get List Id Details request: $ref: ../v1.0/examples/GetImageListIdDetailsResource.JSON produces: - application/json summary: Microsoft Azure Get Contentmoderator Lists 0 Imagelists Listid delete: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsDelete description: Deletes the image list with listId equal to the passed list ID. parameters: - $ref: '#/parameters/listId' responses: '200': description: OK. schema: type: string default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Delete Imagelist request: $ref: ../v1.0/examples/DeleteImageListResource.JSON produces: - application/json summary: Microsoft Azure Delete Contentmoderator Lists 0 Imagelists Listid put: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsUpdate description: Updates an image list with listId equal to the passed list ID. parameters: - $ref: '#/parameters/listId' - name: Content-Type description: Content type. required: true type: string in: header - $ref: '#/parameters/body' consumes: - application/json responses: '200': description: OK. schema: $ref: '#/definitions/ImageList' default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Update Imagelist request: $ref: ../v1.0/examples/UpdateImageListResource.JSON produces: - application/json summary: Microsoft Azure Put Contentmoderator Lists 0 Imagelists Listid /contentmoderator/lists/v1.0/imagelists: post: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsCreate description: Creates an image list. parameters: - name: Content-Type description: Content type. required: true type: string in: header - $ref: '#/parameters/body' consumes: - application/json responses: '200': description: OK. schema: $ref: '#/definitions/ImageList' default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Create Imagelist request: $ref: ../v1.0/examples/CreateImageListResource.JSON produces: - application/json summary: Microsoft Azure Post Contentmoderator Lists 0 Imagelists get: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsGetallimagelists description: Gets all the image lists. parameters: [] responses: '200': description: OK. schema: $ref: '#/definitions/ImageLists' default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Get All Imagelists request: $ref: ../v1.0/examples/GetImageListsResource.JSON produces: - application/json summary: Microsoft Azure Get Contentmoderator Lists 0 Imagelists /contentmoderator/lists/v1.0/imagelists/{listId}/RefreshIndex: post: tags: - ListManagementImageLists operationId: microsoftAzureListmanagementimagelistsRefreshindex description: Refreshes the index of the list with listId equal to the passed list ID. parameters: - $ref: '#/parameters/listId' consumes: - application/json responses: '200': description: OK. schema: $ref: '#/definitions/RefreshIndex' default: description: Error response. schema: $ref: '#/definitions/APIError' x-ms-examples: Refresh Image Index request: $ref: ../v1.0/examples/RefreshImageIndexResource.JSON produces: - application/json summary: Microsoft Azure Post Contentmoderator Lists 0 Imagelists Listid Refreshindex definitions: ImageLists: type: array items: $ref: '#/definitions/ImageList' ImageList: description: Image list properties. properties: Id: description: Image list ID. type: integer Name: description: Image list name. type: string Description: description: Description for the image list. type: string Metadata: description: Image list metadata. type: object additionalProperties: type: string APIError: type: object description: Error information that the API returns. properties: Error: $ref: '#/definitions/Error' Status: description: Status properties. properties: Code: description: Status code. type: integer Description: description: Status description. type: string Exception: description: Exception status. type: string RefreshIndex: description: Response after you refresh the index. properties: ContentSourceId: description: Content source ID. type: string IsUpdateSuccess: description: Update success status. type: boolean AdvancedInfo: description: Advanced info list. type: array items: type: object additionalProperties: type: string Status: description: Status of refreshing the index. $ref: '#/definitions/Status' TrackingId: description: Tracking ID. type: string Error: type: object description: Error body. properties: Code: type: string Message: type: string parameters: listId: name: listId in: path description: List ID of the image list. required: true type: string x-ms-parameter-location: method body: name: body in: body description: Schema of the body. required: true schema: type: object properties: Name: description: Name of the list. type: string Description: description: Description of the list. type: string Metadata: description: Metadata of the list. type: object additionalProperties: type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'