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

# Коментарі



## OpenAPI

````yaml GET /api/comments
openapi: 3.0.3
info:
  title: UAFilms API
  description: >-
    API для агрегації українського контенту. Підтримує SSE для динамічного
    завантаження джерел.
  version: 1.1.4
servers:
  - url: https://bfilms.aartzz.pp.ua
    description: Production Server
security: []
paths:
  /api/comments:
    get:
      summary: Коментарі з UaKino
      parameters:
        - name: imdb_id
          in: query
          required: true
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: Дерево коментарів
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Comment'
        '404':
          description: Коментарі не знайдено
components:
  schemas:
    Comment:
      type: object
      properties:
        id:
          type: string
        author:
          type: object
          properties:
            name:
              type: string
            avatar:
              type: string
            group:
              type: string
        text:
          type: string
        date:
          type: string
        rating:
          type: integer
        replies:
          type: array
          items:
            $ref: '#/components/schemas/Comment'

````