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

# Publish catalog draft

> Apply the pending draft to the live catalog and mark it as a published version.



## OpenAPI

````yaml post /v1/catalog/versions/draft/publish
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/catalog/versions/draft/publish:
    post:
      tags:
        - Catalog
      summary: Publish catalog draft
      description: >-
        Apply the pending draft to the live catalog and mark it as a published
        version.
      operationId: publishCatalogDraft
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CatalogPublishResult'
        '403':
          description: Catalog versioning not enabled.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '404':
          description: No pending draft.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  schemas:
    CatalogPublishResult:
      type: object
      properties:
        version_id:
          type: string
          description: ID of the catalog version that was published.
          example: pcv_9x8v7u6t5s4r
        version:
          type: number
          description: Version number assigned to the published catalog.
          example: 12
        impacted_subscriptions:
          type: number
          description: Number of subscriptions impacted by catalog price changes.
          example: 7
      required:
        - version_id
        - version
        - impacted_subscriptions
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````