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

# Publish Page



## OpenAPI

````yaml https://api.vellaro.io/openapi.json post /api/v1/admin/cms/pages/{page_id}/publish
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/cms/pages/{page_id}/publish:
    post:
      tags:
        - admin:cms-pages
      summary: Publish Page
      operationId: publish_page_api_v1_admin_cms_pages__page_id__publish_post
      parameters:
        - name: page_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Page Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_CmsPageDetailOut_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_CmsPageDetailOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/CmsPageDetailOut'
            - type: 'null'
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[CmsPageDetailOut]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CmsPageDetailOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        slug:
          type: string
          title: Slug
        page_type:
          type: string
          title: Page Type
        title_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Title I18N
        meta_title_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta Title I18N
        meta_description_i18n:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta Description I18N
        status:
          type: string
          title: Status
        published_version_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Published Version Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        draft:
          anyOf:
            - $ref: '#/components/schemas/CmsPageVersionOut'
            - type: 'null'
        published:
          anyOf:
            - $ref: '#/components/schemas/CmsPageVersionOut'
            - type: 'null'
      type: object
      required:
        - id
        - slug
        - page_type
        - title_i18n
        - meta_title_i18n
        - meta_description_i18n
        - status
        - published_version_id
        - created_at
        - updated_at
      title: CmsPageDetailOut
      description: Admin detail — the summary plus the current draft and published version.
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    CmsPageVersionOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        version_no:
          type: integer
          title: Version No
        state:
          type: string
          title: State
        created_by:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By
        created_at:
          type: string
          format: date-time
          title: Created At
        page_id:
          type: string
          format: uuid
          title: Page Id
        blocks:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Blocks
      type: object
      required:
        - id
        - version_no
        - state
        - created_by
        - created_at
        - page_id
        - blocks
      title: CmsPageVersionOut
      description: A version including its full block-tree.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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