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

# Типы заданий

> Возвращает список доступных типов заданий.



## OpenAPI

````yaml POST /tasks/types
openapi: 3.1.0
info:
  title: Megaseo API
  version: 1.0.0
servers:
  - url: https://api-v2.megaseo.net/web
    description: Production
security: []
paths:
  /tasks/types:
    post:
      tags:
        - tasks
      summary: Get Types
      operationId: get_types_tasks_types_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetTaskTypesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TaskTypeResponse'
                type: array
                title: Response Get Types Tasks Types Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GetTaskTypesRequest:
      properties:
        access_token:
          type: string
          title: Access Token
      type: object
      required:
        - access_token
      title: GetTaskTypesRequest
    TaskTypeResponse:
      properties:
        id:
          type: integer
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        task_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Name
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        need_link:
          anyOf:
            - type: integer
            - type: 'null'
          title: Need Link
        minimal_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Minimal Price
        recommended_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Recommended Price
        visual_index:
          anyOf:
            - type: integer
            - type: 'null'
          title: Visual Index
      type: object
      required:
        - id
      title: TaskTypeResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````

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