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

# Update Project Revisions



## OpenAPI

````yaml /openapi.json patch /v1/workspaces/{workspaceId}/projects/{projectId}/revisions/{id}
openapi: 3.1.0
info:
  title: Specurate API
  description: ''
  version: 1.0.0
  contact: {}
servers:
  - url: https://app.specurate.com/api
    description: API Server
security: []
tags: []
paths:
  /v1/workspaces/{workspaceId}/projects/{projectId}/revisions/{id}:
    patch:
      tags:
        - Project Revisions
      summary: Update Project Revisions
      operationId: ProjectRevisionsController_patch_v1
      parameters:
        - name: workspaceId
          required: true
          in: path
          schema:
            type: string
        - name: projectId
          required: true
          in: path
          schema:
            type: string
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchRevisionDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevisionDto'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
components:
  schemas:
    PatchRevisionDto:
      type: object
      properties:
        label:
          type: string
          minLength: 1
          maxLength: 200
        issueDate:
          type: string
          format: date
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
        notes:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
        releaseTypeId:
          anyOf:
            - type: string
            - type: 'null'
      additionalProperties: false
    RevisionDto:
      type: object
      properties:
        type:
          enum:
            - version
            - issue
            - revision
          type: string
        id:
          type: string
        label:
          type: string
          nullable: true
        releaseType:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
            - name
        issueDate:
          type: string
        notes:
          type: string
          nullable: true
        actorUserId:
          type: string
          nullable: true
        actorName:
          type: string
          nullable: true
        sourceId:
          type: string
          nullable: true
        lineCount:
          type: number
        createdAt:
          type: string
        updatedAt:
          type: string
        archivedAt:
          type: string
          nullable: true
        archivedByName:
          type: string
          nullable: true
      required:
        - type
        - id
        - label
        - releaseType
        - issueDate
        - notes
        - actorUserId
        - actorName
        - sourceId
        - lineCount
        - createdAt
        - updatedAt
        - archivedAt
        - archivedByName
    ErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: number
          example: 409
        message:
          type: string
          example: Conflict
        code:
          type: string
          example: VARIANT_COMBO_TAKEN
          description: >-
            UPPER_SNAKE_CASE domain error code. Present on validation /
            business-rule errors; absent on generic HTTP errors.
        entity:
          type: string
          description: >-
            Entity type that caused the conflict (e.g. "ProjectItem"). Present
            when the error is entity-specific.
      required:
        - statusCode
        - message

````