> ## Documentation Index
> Fetch the complete documentation index at: https://docs.patch.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# The cloud reviewer's verdict (Patch's reviewer only)

> Authorized with the reviewer's shared secret as Authorization: Bearer.



## OpenAPI

````yaml /api-reference/openapi.json post /cloud-reviews/{id}
openapi: 3.1.0
info:
  title: Patch API
  version: 1.0.0
  description: >-
    The public API behind patch.gg, the desktop app and pch. Changes within v1
    are additive only. Errors are { error: { code, message, details } }; branch
    on code.
servers:
  - url: https://patch.gg/api/v1
security: []
paths:
  /cloud-reviews/{id}:
    post:
      tags:
        - Review
      summary: The cloud reviewer's verdict (Patch's reviewer only)
      description: 'Authorized with the reviewer''s shared secret as Authorization: Bearer.'
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                verdict:
                  type: string
                  enum:
                    - pass
                    - fail
                summary:
                  type: string
                  maxLength: 2000
                findings:
                  type: array
                  items:
                    allOf:
                      - $ref: '#/components/schemas/Finding'
                      - type: object
                        properties:
                          path:
                            type:
                              - string
                              - 'null'
                          suggestion:
                            type:
                              - string
                              - 'null'
                  maxItems: 200
              required:
                - verdict
      responses:
        '200':
          description: The release
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Release'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Not signed in
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Finding:
      type: object
      properties:
        rule_id:
          type: string
          example: PA-130
        severity:
          type: string
          enum:
            - blocking
            - warning
            - info
        path:
          type:
            - string
            - 'null'
          description: The file it's about, if any
        message:
          type: string
        suggestion:
          type:
            - string
            - 'null'
          description: What to change
      required:
        - rule_id
        - severity
        - path
        - message
        - suggestion
    Release:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project:
          type: string
        version:
          type: string
        channel:
          type: string
          enum:
            - dev
            - private
            - unlisted
            - public
        status:
          type: string
          enum:
            - draft
            - checking
            - testing
            - cloud_review
            - in_review
            - published
            - rejected
            - yanked
            - quarantined
          description: >-
            draft, then checking (file checks). A browser game is testing until
            a test on its creator's PC passes, then cloud_review, then
            published. A mod goes to cloud_review, then in_review (a staff
            member), then published. Any step can end in rejected.
        kind:
          type: string
          enum:
            - web_game
            - mod
            - crossover_mod
            - remix
        trust_tier:
          type: string
          enum:
            - sandboxed
            - game_files_only
            - runs_code
          description: >-
            What the release can do on the player's PC, worked out from its
            recipe and files: runs sandboxed in Patch, changes game files only,
            or runs code. Drives the consent sheet and review.
        changelog:
          type:
            - string
            - 'null'
        recipe:
          type:
            - object
            - 'null'
          additionalProperties: {}
          description: >-
            The release's recipe with its defaults filled in
            (https://patch.gg/schemas/recipe/v1.json). Null for releases made
            before recipes.
        manifest:
          type:
            - object
            - 'null'
          additionalProperties: {}
          description: >-
            Deprecated: the patch.json of releases made before recipes, else
            null.
        created_at:
          type: string
        submitted_at:
          type:
            - string
            - 'null'
        published_at:
          type:
            - string
            - 'null'
      required:
        - id
        - project
        - version
        - channel
        - status
        - kind
        - trust_tier
        - changelog
        - recipe
        - manifest
        - created_at
        - submitted_at
        - published_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: version_exists
            message:
              type: string
            details: {}
          required:
            - code
            - message
      required:
        - error

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.