> ## 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.

# Release



## OpenAPI

````yaml /openapi.json post /v1/workspaces/{workspaceId}/collections/{collectionId}/releases
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}/collections/{collectionId}/releases:
    post:
      tags:
        - Collection Releases
      summary: Release
      operationId: CollectionReleasesController_release_v1
      parameters:
        - name: workspaceId
          required: true
          in: path
          schema:
            type: string
            pattern: ^[1-9]\d*$
        - name: collectionId
          required: true
          in: path
          schema:
            type: string
            pattern: ^[1-9]\d*$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReleaseCollectionRequestDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionReleaseDto'
      security:
        - bearer: []
components:
  schemas:
    ReleaseCollectionRequestDto:
      type: object
      properties:
        version:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        label:
          anyOf:
            - type: string
              minLength: 1
              maxLength: 255
            - type: 'null'
        releaseTypeId:
          anyOf:
            - type: string
              pattern: ^[1-9]\d*$
            - type: 'null'
        notes:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
        releaseDate:
          anyOf:
            - 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])))$
            - type: 'null'
      required:
        - version
      additionalProperties: false
    CollectionReleaseDto:
      type: object
      properties:
        id:
          type: string
        number:
          type: number
          description: The version. Render as "v3".
        label:
          type: string
          nullable: true
        releaseType:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ReleaseTypeSummaryDto'
        notes:
          type: string
          nullable: true
        releaseDate:
          type: string
          description: Date-only, `YYYY-MM-DD`. Never format this as an instant.
        releasedAt:
          type: string
          description: ISO instant.
        actorUserId:
          type: string
          nullable: true
        actorName:
          type: string
          nullable: true
        familyCount:
          type: number
          description: Catalogue products this release covered.
        entryCount:
          type: number
          description: Lines the release published.
        collectionId:
          type: string
          nullable: true
          description: Null for an ownerless release, which outlived its collection.
      required:
        - id
        - number
        - label
        - releaseType
        - notes
        - releaseDate
        - releasedAt
        - actorUserId
        - actorName
        - familyCount
        - entryCount
        - collectionId
    ReleaseTypeSummaryDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
      required:
        - id
        - name
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````