> ## 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/details
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/details:
    get:
      summary: Метадані контенту (Тільки TMDB)
      parameters:
        - name: id
          in: query
          required: true
          schema:
            type: string
        - name: type
          in: query
          required: true
          schema:
            type: string
            enum:
              - movie
              - tv
      responses:
        '200':
          description: Метадані без джерел
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MovieDetails'
        '404':
          description: Контент не знайдено
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MovieDetails:
      type: object
      description: Базові метадані з TMDB
      properties:
        id:
          type: string
        imdb_id:
          type: string
          nullable: true
        type:
          type: string
          enum:
            - movie
            - tv
        title:
          type: string
        original_title:
          type: string
        year:
          type: string
        overview:
          type: string
        genres:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
              name:
                type: string
        poster_path:
          type: string
        backdrop_path:
          type: string
        imdb_rating:
          type: number
          nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
          example: CAPTCHA token missing
        details:
          type: array
          items:
            type: string
          nullable: true

````