Microsoft Azure Content Moderator Client

Microsoft Azure Content Moderator Client is a cloud-based service that helps users filter and moderate content on their websites or applications. It provides a range of moderation capabilities, including text moderation, image moderation, and video moderation. Users can set up rules to filter out inappropriate or offensive content, such as hate speech, nudity, violence, and more.

OpenAPI Specification

content-moderator-client-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure Content Moderator Client
  version: '1.0'
  description: "You use the API to scan your content as it's generated. Content Moderator then processes your content and sends the results, along with relevant information, either back to your systems or to the built-in review tool. You can use this information to make decisions, like taking it down or sending it to a human judge.\r\n\r\nWhen you're using the API, images need to have a minimum of 128 pixels and a maximum file size of 4 MB. \r\nText can be at most 1,024 characters long. \r\nIf the content passed to the text API or the image API exceeds the size limits, the API will return an error code that informs you about the issue."
securityDefinitions:
  apim_key:
    type: apiKey
    name: Ocp-Apim-Subscription-Key
    in: header
security:
  - apim_key: []
x-ms-parameterized-host:
  hostTemplate: '{Endpoint}'
  useSchemePrefix: false
  parameters:
    - $ref: '#/parameters/Endpoint'
paths:
  /contentmoderator/moderate/v1.0/ProcessImage/FindFaces:
    post:
      tags:
        - ImageModeration
      operationId: microsoftAzureImagemoderationFindfaces
      description: Returns the list of faces found.
      parameters:
        - $ref: '#/parameters/CacheImage'
      consumes:
        - application/json
        - image/gif
        - image/jpeg
        - image/png
        - image/bmp
        - image/tiff
      responses:
        '200':
          description: List of faces found.
          schema:
            $ref: '#/definitions/FoundFaces'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Moderate 0 Processimage Findfaces
  /contentmoderator/moderate/v1.0/ProcessImage/OCR:
    post:
      tags:
        - ImageModeration
      operationId: microsoftAzureImagemoderationOcr
      description: >-
        Returns any text found in the image for the specified language. If no
        language is specified in the input, the detection defaults to English.
      parameters:
        - $ref: '#/parameters/language'
        - $ref: '#/parameters/CacheImage'
        - $ref: '#/parameters/enhanced'
      consumes:
        - application/json
        - image/gif
        - image/jpeg
        - image/png
        - image/bmp
        - image/tiff
      responses:
        '200':
          description: Text found and list of candidate text details.
          schema:
            $ref: '#/definitions/OCR'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Moderate 0 Processimage Ocr
  /contentmoderator/moderate/v1.0/ProcessImage/Evaluate:
    post:
      tags:
        - ImageModeration
      operationId: microsoftAzureImagemoderationEvaluate
      description: Returns probabilities of the image containing racy or adult content.
      parameters:
        - $ref: '#/parameters/CacheImage'
      consumes:
        - application/json
        - image/gif
        - image/jpeg
        - image/png
        - image/bmp
        - image/tiff
      responses:
        '200':
          description: ''
          schema:
            $ref: '#/definitions/Evaluate'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Moderate 0 Processimage Evaluate
  /contentmoderator/moderate/v1.0/ProcessImage/Match:
    post:
      tags:
        - ImageModeration
      operationId: microsoftAzureImagemoderationMatch
      description: >-
        Fuzzily match an image against one of your custom image lists. You can
        create and manage your custom image lists by using this API.
        <br><br>Returns the ID and tags of a matching image.<br><br>Note: You
        must refresh the index on the corresponding image list to ensure that
        additions and removals are reflected in the response.
      parameters:
        - $ref: '#/parameters/listIdQueryParameter'
        - $ref: '#/parameters/CacheImage'
      consumes:
        - application/json
        - image/gif
        - image/jpeg
        - image/png
        - image/bmp
        - image/tiff
      responses:
        '200':
          description: "Supported values for tags are:\r\n<ul>\r\n<li>101: Nudity</li>\r\n<li>102: Sexual Content</li>\r\n<li>201: Alcohol</li>\r\n<li>202: Tobacco</li>\r\n<li>203: Drugs</li>\r\n<li>301: Child Exploitation</li>\r\n<li>401: Violence</li>\r\n<li>402: Weapons</li>\r\n<li>403: Gore</li>\r\n<li>501: Profanity</li>\r\n<li>502: Vulgarity</li>\r\n</ul>."
          schema:
            $ref: '#/definitions/MatchResponse'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Moderate 0 Processimage Match
  /contentmoderator/moderate/v1.0/ProcessText/Screen/:
    post:
      tags:
        - TextModeration
      summary: Microsoft Azure Detect Profanity And Match Against Custom And Shared Blocklists
      description: >-
        Detects profanity in more than 100 languages and matches against custom
        and shared blocklists.
      operationId: microsoftAzureTextmoderationScreentext
      parameters:
        - $ref: '#/parameters/textLanguage'
        - $ref: '#/parameters/autocorrect'
        - $ref: '#/parameters/PII'
        - $ref: '#/parameters/listIdQueryParameter'
        - $ref: '#/parameters/classify'
        - name: Content-Type
          description: Content type.
          required: true
          x-ms-client-name: textContentType
          type: string
          in: header
          enum:
            - text/plain
            - text/html
            - text/xml
            - text/markdown
        - $ref: '#/parameters/textContent'
      consumes:
        - text/plain
        - text/html
        - text/xml
        - text/markdown
      responses:
        '200':
          description: Status 200.
          schema:
            $ref: '#/definitions/Screen'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Detect Language request:
          $ref: ../v1.0/examples/ScreenTextResource.JSON
      produces:
        - application/json
  /contentmoderator/moderate/v1.0/ProcessText/DetectLanguage:
    post:
      tags:
        - TextModeration
      operationId: microsoftAzureTextmoderationDetectlanguage
      description: >-
        This operation detects the language of input content. It returns the ISO
        639-3 code for the predominant language in the submitted text. More than
        110 languages are supported.
      parameters:
        - name: Content-Type
          description: Content type.
          required: true
          x-ms-client-name: textContentType
          type: string
          in: header
          enum:
            - text/plain
            - text/html
            - text/xml
            - text/markdown
        - $ref: '#/parameters/textContent'
      consumes:
        - text/plain
        - text/html
        - text/xml
        - text/markdown
      responses:
        '200':
          description: Detected language result.
          schema:
            $ref: '#/definitions/DetectedLanguage'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Detect Language request:
          $ref: ../v1.0/examples/DetectLanguageResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Moderate 0 Processtext Detectlanguage
  /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
  /contentmoderator/lists/v1.0/termlists/{listId}:
    get:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsGetdetails
      description: >-
        Returns list ID details of the term list with listId equal to the passed
        list ID.
      parameters:
        - $ref: '#/parameters/listId'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/TermList'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get Term ListId Details request:
          $ref: ../v1.0/examples/GetTermListIdDetailsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Lists 0 Termlists Listid
    delete:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsDelete
      description: Deletes the term 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 Termlist request:
          $ref: ../v1.0/examples/DeleteTermListResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Delete Contentmoderator Lists 0 Termlists Listid
    put:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsUpdate
      description: Updates a term list.
      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/TermList'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Update Termlist request:
          $ref: ../v1.0/examples/UpdateTermListResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Put Contentmoderator Lists 0 Termlists Listid
  /contentmoderator/lists/v1.0/termlists:
    post:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsCreate
      description: Creates a term 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/TermList'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Create Termlist request:
          $ref: ../v1.0/examples/CreateTermListResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Lists 0 Termlists
    get:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsGetalltermlists
      description: Gets all the term lists.
      parameters: []
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/TermLists'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get All Termlists request:
          $ref: ../v1.0/examples/GetTermListsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Lists 0 Termlists
  /contentmoderator/lists/v1.0/termlists/{listId}/RefreshIndex:
    post:
      tags:
        - ListManagementTermLists
      operationId: microsoftAzureListmanagementtermlistsRefreshindex
      description: Refreshes the index of the list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/language'
      consumes:
        - application/json
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/RefreshIndex'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Refresh Term Index request:
          $ref: ../v1.0/examples/RefreshTermIndexResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Lists 0 Termlists Listid Refreshindex
  /contentmoderator/lists/v1.0/imagelists/{listId}/images:
    post:
      tags:
        - ListManagementImage
      operationId: microsoftAzureListmanagementimageAddimage
      description: Add an image to the list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/tag'
        - $ref: '#/parameters/label'
      consumes:
        - application/json
        - image/gif
        - image/jpeg
        - image/png
        - image/bmp
        - image/tiff
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/Image'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Add Image request:
          $ref: ./examples/AddImageResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Lists 0 Imagelists Listid Images
    delete:
      tags:
        - ListManagementImage
      operationId: microsoftAzureListmanagementimageDeleteallimages
      description: >-
        Deletes all images from the 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 All Images request:
          $ref: ../v1.0/examples/DeleteAllImagesResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Delete Contentmoderator Lists 0 Imagelists Listid Images
    get:
      tags:
        - ListManagementImage
      operationId: microsoftAzureListmanagementimageGetallimageids
      description: >-
        Gets all image IDs from the list with listId equal to the passed list
        ID.
      parameters:
        - $ref: '#/parameters/listId'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/ImageIds'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get All Image Ids request:
          $ref: ../v1.0/examples/GetAllImageIdsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Lists 0 Imagelists Listid Images
  /contentmoderator/lists/v1.0/imagelists/{listId}/images/{ImageId}:
    delete:
      tags:
        - ListManagementImage
      operationId: microsoftAzureListmanagementimageDeleteimage
      description: Deletes an image from the list with the passed list ID and image ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/ImageId'
      responses:
        '200':
          description: OK.
          schema:
            type: string
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Delete Image request:
          $ref: ../v1.0/examples/DeleteImageResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Delete Contentmoderator Lists 0 Imagelists Listid Images Imageid
  /contentmoderator/lists/v1.0/termlists/{listId}/terms/{term}:
    post:
      tags:
        - ListManagementTerm
      operationId: microsoftAzureListmanagementtermAddterm
      description: Adds a term to the term list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/term'
        - $ref: '#/parameters/language'
      consumes:
        - application/json
      responses:
        '201':
          description: Created.
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Add Term request:
          $ref: ../v1.0/examples/AddTermResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Lists 0 Termlists Listid Terms Term
    delete:
      tags:
        - ListManagementTerm
      operationId: microsoftAzureListmanagementtermDeleteterm
      description: Deletes a term from the list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/term'
        - $ref: '#/parameters/language'
      responses:
        '204':
          description: No content.
          schema:
            type: string
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Delete Term request:
          $ref: ../v1.0/examples/DeleteTermResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Delete Contentmoderator Lists 0 Termlists Listid Terms Term
  /contentmoderator/lists/v1.0/termlists/{listId}/terms:
    get:
      tags:
        - ListManagementTerm
      operationId: microsoftAzureListmanagementtermGetallterms
      description: Gets all terms from the list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/language'
        - name: offset
          in: query
          description: Pagination start index.
          required: false
          type: integer
        - name: limit
          in: query
          description: Maximum number.
          required: false
          type: integer
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/Terms'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get All Terms request:
          $ref: ../v1.0/examples/GetAllTermsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Lists 0 Termlists Listid Terms
    delete:
      tags:
        - ListManagementTerm
      operationId: microsoftAzureListmanagementtermDeleteallterms
      description: Deletes all terms from the list with listId equal to the passed list ID.
      parameters:
        - $ref: '#/parameters/listId'
        - $ref: '#/parameters/language'
      responses:
        '204':
          description: No content.
          schema:
            type: string
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Delete AllTerms request:
          $ref: ../v1.0/examples/DeleteAllTermsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Delete Contentmoderator Lists 0 Termlists Listid Terms
  /contentmoderator/review/v1.0/teams/{teamName}/reviews/{reviewId}:
    get:
      tags:
        - Reviews
      operationId: microsoftAzureReviewsGetreview
      description: Returns review details for the passed review ID.
      parameters:
        - name: teamName
          in: path
          description: Your team name.
          required: true
          type: string
        - name: reviewId
          in: path
          description: ID of the review.
          required: true
          type: string
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/Review'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get Review request:
          $ref: ../v1.0/examples/GetReviewResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Review 0 Teams Teamname Reviews Reviewid
  /contentmoderator/review/v1.0/teams/{teamName}/jobs/{JobId}:
    get:
      tags:
        - Reviews
      operationId: microsoftAzureReviewsGetjobdetails
      description: Get the job details for a job ID.
      parameters:
        - name: teamName
          in: path
          description: Your team name.
          required: true
          type: string
        - name: JobId
          in: path
          description: ID of the job.
          required: true
          type: string
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/Job'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Get Job Details request:
          $ref: ../v1.0/examples/GetJobDetailsResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Get Contentmoderator Review 0 Teams Teamname Jobs Jobid
  /contentmoderator/review/v1.0/teams/{teamName}/reviews:
    post:
      tags:
        - Reviews
      operationId: microsoftAzureReviewsCreatereviews
      description: >-
        The created reviews appear for reviewers on your team. As reviewers
        finish reviewing, results of the reviews are posted (that is, HTTP POST)
        on the specified CallBackEndpoint value.<br><br>CallBack Schemas
        <br>Review Completion CallBack Sample<br><br>{<br>  "ReviewId": "",<br>  "ModifiedOn": "2016-10-11T22:36:32.9934851Z",<br>  "ModifiedBy":
        "",<br>  "CallBackType": "Review",<br>  "ContentId": "",<br>  "Metadata": {<br>    "adultscore": "0.xxx",<br>    "a": "False",<br>    "racyscore": "0.xxx",<br>    "r": "True"<br>  },<br>  "ReviewerResultTags": {<br>    "a": "False",<br>    "r": "True"<br>  }<br>}<br><br>.
      parameters:
        - name: UrlContentType
          description: Content type.
          required: true
          type: string
          in: header
        - $ref: '#/parameters/teamName'
        - $ref: '#/parameters/subTeam'
        - name: createReviewBody
          description: Body of the API for creating reviews.
          in: body
          required: true
          schema:
            type: array
            description: Schema of the body.
            items:
              required:
                - Content
                - ContentId
                - Type
              type: object
              description: Schema items of the body.
              properties:
                Type:
                  description: Type of the content.
                  enum:
                    - Image
                    - Text
                  type: string
                Content:
                  description: Content to review.
                  type: string
                ContentId:
                  description: Content identifier.
                  type: string
                CallbackEndpoint:
                  description: Callback endpoint.
                  type: string
                Metadata:
                  description: Metadata details.
                  type: array
                  items:
                    required:
                      - Key
                      - Value
                    type: object
                    properties:
                      Key:
                        description: Your key parameter.
                        type: string
                      Value:
                        description: Your value parameter.
                        type: string
      consumes:
        - application/json
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/ReviewList'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Create Review request:
          $ref: ../v1.0/examples/CreateReviewResource.JSON
      produces:
        - application/json
      summary: Microsoft Azure Post Contentmoderator Review 0 Teams Teamname Reviews
  /contentmoderator/review/v1.0/teams/{teamName}/jobs:
    post:
      tags:
        - Reviews
      operationId: microsoftAzureReviewsCreatejob
      description: >-
        A job ID will be returned for the content posted on this endpoint.
        <br><br>After the content is evaluated against the provided workflow,
        the review will be created or ignored based on the workflow
        expression.<br><br>CallBack Schemas <br><br><br>Job Completion CallBack
        Sample<br><br>{<br>  "JobId": ",<br>  "ReviewId": "",<br>  "WorkFlowId":
        "default",<br>  "Status": "",<br>  "ContentType": "Image",<br>  "ContentId": "",<br>  "CallBackType": "Job",<br>  "Metadata": {<br>    "adultscore": "0.xxx",<br>    "a": "False",<br>    "racyscore":
        "0.xxx",<br>    "r": "True"<br>  }<br>}<br><br><br><br>Review Completion
        CallBack Sample<br><br>{<br>  "ReviewId": "",<br>  "ModifiedOn":
        "2016-10-11T22:36:32.9934851Z",<br>  "ModifiedBy": "",<br>  "CallBackType": "Review",<br>  "ContentId": "",<br>  "Metadata":
        {<br>    "adultscore": "0.xxx",<br>    "a": "False",<br>    "racyscore":
        "0.xxx",<br>    "r": "True"<br>  },<br>  "ReviewerResultTags": {<br>    "a": "False",<br>    "r": "True"<br>  }<br>}<br><br>.
      parameters:
        - $ref: '#/parameters/teamName'
        - $ref: '#/parameters/ContentType'
        - $ref: '#/parameters/ContentId'
        - $ref: '#/parameters/WorkflowName'
        - $ref: '#/parameters/CallBackEndpoint'
        - name: Content-Type
          description: Content type.
          required: true
          x-ms-client-name: jobContentType
          type: string
          in: header
          enum:
            - application/json
            - image/jpeg
        - name: Content
          description: Content to evaluate.
          in: body
          required: true
          schema:
            required:
              - ContentValue
            type: object
            properties:
              ContentValue:
                description: Content to evaluate for a job.
                type: string
          x-examples:
            application/json: |-
              {
                "ContentValue": "<Replace with you Image Url>"
              }
      consumes:
        - application/json
        - image/jpeg
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/JobId'
        default:
          description: Error response.
          schema:
            $ref: '#/definitions/APIError'
      x-ms-examples:
        Create Job request:
          $ref: ../v1.0/examples/CreateJobResource.JSON
      produces:
        - application/json
        - text/json
      summary: Microsoft Azure Post Contentmoderator Review 0 Teams Teamname Jobs
  /contentmoderator/review/v1.0/teams/{teamName}/reviews/{reviewId}/frames:
    post:
      tags:
        - Reviews
      operationId: microsoftAzureReviewsAddvideoframe
      description: >-
        The created reviews appea

# --- truncated at 32 KB (81 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/content-moderator-client-openapi-original.yml