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

# Get all the seat types by hall ID

> Retrieves a list of all seat types  defined for a specific hall.
Each seat type includes its name, price, and associated color, which can be used to render a legend for the seating chart.
This is a public endpoint and does not require authentication.




## OpenAPI

````yaml api-reference/openapi.json get /api/halls/{hall_id}/seat-types
openapi: 3.0.0
info:
  title: Tandem IT API
  version: 1.0.0
  description: API for tandem it backend
servers:
  - url: https://tandem.hlofiys.xyz
    description: Production server
security: []
tags:
  - name: Documentation
    description: API documentation endpoint
paths:
  /api/halls/{hall_id}/seat-types:
    parameters:
      - name: hall_id
        in: path
        required: true
        schema:
          type: integer
          format: int64
    get:
      tags:
        - Seat Types
      summary: Get all the seat types by hall ID
      description: >
        Retrieves a list of all seat types  defined for a specific hall.

        Each seat type includes its name, price, and associated color, which can
        be used to render a legend for the seating chart.

        This is a public endpoint and does not require authentication.
      operationId: getAllSeatTypes
      responses:
        '200':
          description: >-
            Successful response. Returns an array of all existing seat types in
            hall
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SeatType'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SeatType:
      type: object
      required:
        - seat_type_id
        - name
        - price
        - seat_color
        - hall_id
      properties:
        seat_type_id:
          type: integer
          format: int64
          description: Unique seat type ID
        name:
          type: string
          description: Seat type name
        price:
          type: string
          description: Cost of place. Passed as a string to preserve precision
          example: '99.90'
        seat_color:
          $ref: '#/components/schemas/HexColor'
        hall_id:
          type: integer
          format: int64
          description: Unique hall ID
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    HexColor:
      type: string
      description: Color in 6-digit or 3-digit HEX format, starting with '#'
      pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
      example: '#4A90E2'

````