# Получить список задач · GET /api/tasks/{team_id}/list/

Список задач.

**Токен** · personal, team. **Право** · `tasks:read`.

## Параметры запроса

Заголовок авторизации: `Authorization: Bearer <токен>`.

### `team_id` · path · обязательный

```json
{
  "in": "path",
  "name": "team_id",
  "required": true,
  "type": "string"
}
```

### `priority` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "priority",
  "required": false,
  "type": "string"
}
```

### `status` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "status",
  "required": false,
  "type": "string"
}
```

### `status__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "status__isnull",
  "required": false,
  "type": "string"
}
```

### `exclude_status` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "exclude_status",
  "required": false,
  "type": "string"
}
```

### `task_labels` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "task_labels",
  "required": false,
  "type": "string"
}
```

### `deadline` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "deadline",
  "required": false,
  "type": "string"
}
```

### `date_start` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_start",
  "required": false,
  "type": "string"
}
```

### `date_created` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_created",
  "required": false,
  "type": "string"
}
```

### `created_by` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "created_by",
  "required": false,
  "type": "string"
}
```

### `executors` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "executors",
  "required": false,
  "type": "string"
}
```

### `responsibles` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "responsibles",
  "required": false,
  "type": "string"
}
```

### `responsibles__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "responsibles__isnull",
  "required": false,
  "type": "string"
}
```

### `views` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "views",
  "required": false,
  "type": "string"
}
```

### `view` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "view",
  "required": false,
  "type": "string"
}
```

### `stage` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "stage",
  "required": false,
  "type": "string"
}
```

### `stage__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "stage__isnull",
  "required": false,
  "type": "string"
}
```

### `task_work_times__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "task_work_times__isnull",
  "required": false,
  "type": "string"
}
```

### `comments__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "comments__isnull",
  "required": false,
  "type": "string"
}
```

### `files__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "files__isnull",
  "required": false,
  "type": "string"
}
```

### `children__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "children__isnull",
  "required": false,
  "type": "string"
}
```

### `check_lists__isnull` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "check_lists__isnull",
  "required": false,
  "type": "string"
}
```

### `exclude` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "exclude",
  "required": false,
  "type": "string"
}
```

### `datasource` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "datasource",
  "required": false,
  "type": "string"
}
```

### `archived` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "archived",
  "required": false,
  "type": "string"
}
```

### `archived_by__in` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "archived_by__in",
  "required": false,
  "type": "string"
}
```

### `date_archived__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_archived__gt",
  "required": false,
  "type": "string"
}
```

### `date_archived__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_archived__lt",
  "required": false,
  "type": "string"
}
```

### `time_by_users` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "time_by_users",
  "required": false,
  "type": "string"
}
```

### `exclude_blocked_tasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "exclude_blocked_tasks",
  "required": false,
  "type": "string"
}
```

### `datetime_completed` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "datetime_completed",
  "required": false,
  "type": "string"
}
```

### `datetime_completed__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "datetime_completed__gt",
  "required": false,
  "type": "string"
}
```

### `datetime_completed__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "datetime_completed__lt",
  "required": false,
  "type": "string"
}
```

### `due_date__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "due_date__gt",
  "required": false,
  "type": "string"
}
```

### `due_date__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "due_date__lt",
  "required": false,
  "type": "string"
}
```

### `parent` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "parent",
  "required": false,
  "type": "string"
}
```

### `custom_fields` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "custom_fields",
  "required": false,
  "type": "string"
}
```

### `gantt_type` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "gantt_type",
  "required": false,
  "type": "string"
}
```

### `color` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "color",
  "required": false,
  "type": "string"
}
```

### `sla_breached` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "sla_breached",
  "required": false,
  "type": "string"
}
```

### `dontShowSubtasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "dontShowSubtasks",
  "required": false,
  "type": "string"
}
```

### `dont_show_subtasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "dont_show_subtasks",
  "required": false,
  "type": "string"
}
```

### `completed` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "completed",
  "required": false,
  "type": "string"
}
```

### `partially_completed` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "partially_completed",
  "required": false,
  "type": "string"
}
```

### `my_completed_tasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "my_completed_tasks",
  "required": false,
  "type": "string"
}
```

### `my_not_completed_tasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "my_not_completed_tasks",
  "required": false,
  "type": "string"
}
```

### `planned_time` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "planned_time",
  "required": false,
  "type": "string"
}
```

### `group` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "group",
  "required": false,
  "type": "string"
}
```

### `have_estimates` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "have_estimates",
  "required": false,
  "type": "string"
}
```

### `have_planned_estimates` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "have_planned_estimates",
  "required": false,
  "type": "string"
}
```

### `deadline__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "deadline__gt",
  "required": false,
  "type": "string"
}
```

### `deadline__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "deadline__lt",
  "required": false,
  "type": "string"
}
```

### `date_updated__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_updated__gt",
  "required": false,
  "type": "string"
}
```

### `date_updated__gte` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_updated__gte",
  "required": false,
  "type": "string"
}
```

### `external_id` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "external_id",
  "required": false,
  "type": "string"
}
```

### `deadline_range__start` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "deadline_range__start",
  "required": false,
  "type": "string"
}
```

### `deadline_range__end` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "deadline_range__end",
  "required": false,
  "type": "string"
}
```

### `calendar_range__start` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "calendar_range__start",
  "required": false,
  "type": "string"
}
```

### `calendar_range__end` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "calendar_range__end",
  "required": false,
  "type": "string"
}
```

### `date_start__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_start__gt",
  "required": false,
  "type": "string"
}
```

### `date_start__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_start__lt",
  "required": false,
  "type": "string"
}
```

### `date_created__gt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_created__gt",
  "required": false,
  "type": "string"
}
```

### `date_created__lt` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "date_created__lt",
  "required": false,
  "type": "string"
}
```

### `executor_members` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "executor_members",
  "required": false,
  "type": "string"
}
```

### `responsible_members` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "responsible_members",
  "required": false,
  "type": "string"
}
```

### `my_tasks` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "my_tasks",
  "required": false,
  "type": "string"
}
```

### `watchers` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "watchers",
  "required": false,
  "type": "string"
}
```

### `type` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "type",
  "required": false,
  "type": "string"
}
```

### `ids` · query · необязательный

```json
{
  "description": "",
  "in": "query",
  "name": "ids",
  "required": false,
  "type": "string"
}
```

### `search` · query · необязательный

```json
{
  "description": "A search term.",
  "in": "query",
  "name": "search",
  "required": false,
  "type": "string"
}
```

### `ordering` · query · необязательный

```json
{
  "description": "Which field to use when ordering the results.",
  "in": "query",
  "name": "ordering",
  "required": false,
  "type": "string"
}
```

### `limit` · query · необязательный

```json
{
  "default": 20,
  "description": "Number of results to return per page.",
  "in": "query",
  "maximum": 100,
  "minimum": 1,
  "name": "limit",
  "required": false,
  "type": "integer"
}
```

### `offset` · query · необязательный

```json
{
  "default": 0,
  "description": "The initial index from which to return the results.",
  "in": "query",
  "minimum": 0,
  "name": "offset",
  "required": false,
  "type": "integer"
}
```

## Ответы

### HTTP 200

```json
{
  "description": "",
  "schema": {
    "properties": {
      "next": {
        "format": "uri",
        "type": "string",
        "x-nullable": true
      },
      "previous": {
        "format": "uri",
        "type": "string",
        "x-nullable": true
      },
      "results": {
        "items": {
          "$ref": "#/definitions/PublicTask"
        },
        "type": "array"
      }
    },
    "required": [
      "results"
    ],
    "type": "object"
  }
}
```

### HTTP 400

```json
{
  "description": "Параметры или тело запроса не прошли проверку.",
  "schema": {
    "$ref": "#/definitions/PublicApiError"
  }
}
```

### HTTP 401

```json
{
  "description": "Токен отсутствует или недействителен.",
  "schema": {
    "$ref": "#/definitions/PublicAuthenticationError"
  }
}
```

### HTTP 402

```json
{
  "description": "Тариф команды не включает запрошенную возможность.",
  "schema": {
    "$ref": "#/definitions/PublicApiError"
  }
}
```

### HTTP 403

```json
{
  "description": "Токену не выдан нужный грант или у пользователя отсутствуют права доступа.",
  "schema": {
    "$ref": "#/definitions/PublicApiError"
  }
}
```

### HTTP 404

```json
{
  "description": "Метод недоступен токену или объект отсутствует в доступной области.",
  "schema": {
    "$ref": "#/definitions/PublicApiError"
  }
}
```

### HTTP 429

```json
{
  "description": "Превышен лимит запросов. Заголовок Retry-After указывает время ожидания в секундах.",
  "headers": {
    "Retry-After": {
      "description": "Секунд до следующей попытки.",
      "type": "integer"
    }
  },
  "schema": {
    "$ref": "#/definitions/PublicApiError"
  }
}
```

### Заголовки лимитов

- `RateLimit-Limit` — Лимит запросов в применённом окне.

- `RateLimit-Remaining` — Оставшееся число запросов.

- `RateLimit-Reset` — Секунд до сброса счётчика.

## SDK

Python: `ShtabClient.tasks_list_list`  
TypeScript: `ShtabClient.tasksListList`

### Python

```python
import os

from shtab_sdk import ApiError, ShtabClient

client = ShtabClient(os.environ["SHTAB_TOKEN"], token_type="personal")
try:
    result = client.tasks_list_list(path={'team_id': '1'}, query={'limit': 20})
    print(result)
except ApiError as error:
    print(error.status, error.code, error.body)
    raise
```

### TypeScript

```typescript
import { ApiError, ShtabClient } from "@shtabapp/sdk";

const token = process.env.SHTAB_TOKEN;
if (!token) throw new Error("Set SHTAB_TOKEN");
const client = new ShtabClient(token, { tokenType: "personal" });
try {
  const result = await client.tasksListList({
    "path": {
      "team_id": "1"
    },
    "query": {
      "limit": 20
    }
  });
  console.log(result);
} catch (error) {
  if (error instanceof ApiError) console.error(error.status, error.code, error.body);
  throw error;
}
```

## Схемы полей

### PublicApiError

```json
{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": {},
          "type": "object"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}
```

### PublicAuthenticationError

```json
{
  "properties": {
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "error": {
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": {},
          "type": "object"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "type": "object"
}
```

### PublicCustomFieldOption

```json
{
  "properties": {
    "color": {
      "description": "#HEX",
      "minLength": 1,
      "title": "Color",
      "type": "string"
    },
    "external_id": {
      "maxLength": 255,
      "title": "Внешний идентификатор",
      "type": "string",
      "x-nullable": true
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "value": {
      "maxLength": 256,
      "minLength": 1,
      "title": "Value",
      "type": "string"
    }
  },
  "type": "object"
}
```

### PublicGroup

```json
{
  "properties": {
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "name": {
      "maxLength": 256,
      "minLength": 1,
      "title": "Название",
      "type": "string"
    },
    "order": {
      "title": "Порядок",
      "type": "number"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

### PublicLabel

```json
{
  "properties": {
    "color": {
      "maxLength": 20,
      "minLength": 1,
      "title": "Цвет",
      "type": "string"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "name": {
      "maxLength": 50,
      "minLength": 1,
      "title": "Название",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

### PublicMemberReference

```json
{
  "properties": {
    "id": {
      "readOnly": true,
      "title": "Id",
      "type": "integer"
    },
    "name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Name",
      "type": "string"
    },
    "type": {
      "minLength": 1,
      "readOnly": true,
      "title": "Type",
      "type": "string"
    }
  },
  "type": "object"
}
```

### PublicStage

```json
{
  "properties": {
    "color": {
      "minLength": 1,
      "readOnly": true,
      "title": "Цвет",
      "type": "string"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Название",
      "type": "string"
    },
    "order": {
      "readOnly": true,
      "title": "Порядок",
      "type": "number"
    }
  },
  "type": "object"
}
```

### PublicStatus

```json
{
  "properties": {
    "color": {
      "minLength": 1,
      "readOnly": true,
      "title": "Цвет",
      "type": "string"
    },
    "icon": {
      "readOnly": true,
      "title": "Icon",
      "type": "string"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "is_default": {
      "readOnly": true,
      "title": "По умолчанию",
      "type": "boolean"
    },
    "order": {
      "readOnly": true,
      "title": "Порядок",
      "type": "number"
    },
    "segment": {
      "enum": [
        "todo",
        "in_progress",
        "done",
        "cancelled"
      ],
      "readOnly": true,
      "title": "Сегмент",
      "type": "string"
    },
    "title": {
      "minLength": 1,
      "readOnly": true,
      "title": "Название статуса",
      "type": "string"
    }
  },
  "type": "object"
}
```

### PublicTask

```json
{
  "properties": {
    "archived": {
      "readOnly": true,
      "title": "Архивирована",
      "type": "boolean"
    },
    "comments_count": {
      "readOnly": true,
      "title": "Количество комментариев",
      "type": "integer"
    },
    "completed": {
      "readOnly": true,
      "title": "Завершена",
      "type": "boolean"
    },
    "created_by_id": {
      "readOnly": true,
      "title": "Created by id",
      "type": "string"
    },
    "custom_fields": {
      "items": {
        "$ref": "#/definitions/PublicTaskCustomFieldList"
      },
      "readOnly": true,
      "type": "array"
    },
    "datasource": {
      "readOnly": true,
      "title": "Источник",
      "type": "integer",
      "x-nullable": true
    },
    "date_archived": {
      "format": "date-time",
      "readOnly": true,
      "title": "Дата архивации",
      "type": "string",
      "x-nullable": true
    },
    "date_completed": {
      "format": "date-time",
      "readOnly": true,
      "title": "Дата завершения",
      "type": "string",
      "x-nullable": true
    },
    "date_created": {
      "format": "date-time",
      "readOnly": true,
      "title": "Дата создания задачи",
      "type": "string"
    },
    "date_start": {
      "format": "date",
      "readOnly": true,
      "title": "Дата начала исполнения задачи",
      "type": "string",
      "x-nullable": true
    },
    "date_start_time": {
      "readOnly": true,
      "title": "Время начала исполнения задачи",
      "type": "string",
      "x-nullable": true
    },
    "date_updated": {
      "format": "date-time",
      "readOnly": true,
      "title": "Дата изменения задачи",
      "type": "string"
    },
    "deadline": {
      "format": "date",
      "readOnly": true,
      "title": "Дата дедлайна задачи",
      "type": "string",
      "x-nullable": true
    },
    "deadline_time": {
      "readOnly": true,
      "title": "Время дедлайна задачи",
      "type": "string",
      "x-nullable": true
    },
    "executors": {
      "items": {
        "$ref": "#/definitions/PublicTaskExecutor"
      },
      "readOnly": true,
      "type": "array"
    },
    "external_id": {
      "minLength": 1,
      "readOnly": true,
      "title": "Внешний идентификатор",
      "type": "string",
      "x-nullable": true
    },
    "files_count": {
      "readOnly": true,
      "title": "Количество файлов",
      "type": "integer"
    },
    "group": {
      "$ref": "#/definitions/PublicGroup"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Название",
      "type": "string"
    },
    "order": {
      "readOnly": true,
      "title": "Позиция задачи",
      "type": "number"
    },
    "parent": {
      "readOnly": true,
      "title": "Parent",
      "type": "integer"
    },
    "planned_time_minutes": {
      "readOnly": true,
      "title": "Запланированное время в минутах",
      "type": "integer"
    },
    "planned_time_type": {
      "enum": [
        "minute",
        "hour",
        "day",
        "week",
        "month"
      ],
      "readOnly": true,
      "title": "Тип запланированного времени в минутах",
      "type": "string"
    },
    "priority": {
      "enum": [
        "critical",
        "high",
        "medium",
        "low"
      ],
      "readOnly": true,
      "title": "Приоритет",
      "type": "string"
    },
    "progress": {
      "readOnly": true,
      "title": "Прогресс",
      "type": "integer"
    },
    "responsibles": {
      "items": {
        "$ref": "#/definitions/PublicTaskResponsible"
      },
      "readOnly": true,
      "type": "array"
    },
    "slug": {
      "format": "slug",
      "minLength": 1,
      "pattern": "^[-\\w]+$",
      "readOnly": true,
      "title": "Слаг",
      "type": "string",
      "x-nullable": true
    },
    "stage": {
      "$ref": "#/definitions/PublicStage"
    },
    "status": {
      "$ref": "#/definitions/PublicStatus"
    },
    "subtasks_count": {
      "default": 0,
      "title": "Subtasks count",
      "type": "integer"
    },
    "task_labels": {
      "items": {
        "$ref": "#/definitions/PublicLabel"
      },
      "readOnly": true,
      "type": "array"
    },
    "tracked_seconds": {
      "readOnly": true,
      "title": "Tracked seconds",
      "type": "string"
    },
    "type": {
      "readOnly": true,
      "title": "Type",
      "type": "string"
    },
    "updated_by": {
      "$ref": "#/definitions/PublicUser"
    },
    "version": {
      "readOnly": true,
      "title": "Версия задачи",
      "type": "integer"
    }
  },
  "type": "object"
}
```

### PublicTaskCustomFieldList

```json
{
  "properties": {
    "custom_field_values": {
      "items": {
        "$ref": "#/definitions/PublicTaskCustomFieldValue"
      },
      "readOnly": true,
      "type": "array"
    },
    "id": {
      "format": "uuid",
      "readOnly": true,
      "title": "Id",
      "type": "string"
    },
    "multiple_choice": {
      "readOnly": true,
      "title": "Множественный выбор",
      "type": "boolean"
    },
    "name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Название",
      "type": "string"
    },
    "type": {
      "enum": [
        "users",
        "text",
        "number",
        "date",
        "menu",
        "file",
        "duration",
        "link",
        "email",
        "phone",
        "cost",
        "dropdown",
        "location",
        "formula"
      ],
      "readOnly": true,
      "title": "Тип",
      "type": "string",
      "x-nullable": true
    },
    "values": {
      "items": {
        "$ref": "#/definitions/PublicCustomFieldOption"
      },
      "readOnly": true,
      "type": "array"
    }
  },
  "type": "object"
}
```

### PublicTaskCustomFieldValue

```json
{
  "properties": {
    "extra": {
      "readOnly": true,
      "title": "Extra",
      "x-nullable": true
    },
    "file": {
      "format": "uri",
      "readOnly": true,
      "title": "Файл",
      "type": "string",
      "x-nullable": true
    },
    "file_extension": {
      "readOnly": true,
      "title": "File extension",
      "type": "string",
      "x-nullable": true
    },
    "filename": {
      "readOnly": true,
      "title": "Filename",
      "type": "string",
      "x-nullable": true
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "option": {
      "$ref": "#/definitions/PublicCustomFieldOption"
    },
    "size": {
      "minLength": 1,
      "readOnly": true,
      "title": "Size",
      "type": "string",
      "x-nullable": true
    },
    "task": {
      "readOnly": true,
      "title": "Task",
      "type": "integer"
    },
    "user": {
      "$ref": "#/definitions/PublicUser"
    },
    "value": {
      "readOnly": true,
      "title": "Значение в текстовом виде",
      "type": "string",
      "x-nullable": true
    }
  },
  "type": "object"
}
```

### PublicTaskExecutor

```json
{
  "properties": {
    "finished": {
      "readOnly": true,
      "title": "Завершил задачу",
      "type": "boolean"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "member": {
      "$ref": "#/definitions/PublicMemberReference"
    },
    "member_type": {
      "readOnly": true,
      "title": "Member type",
      "type": "string",
      "x-nullable": true
    }
  },
  "type": "object"
}
```

### PublicTaskResponsible

```json
{
  "properties": {
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "is_confirmed_closing": {
      "readOnly": true,
      "title": "Подтвердить закрытие задачи",
      "type": "boolean"
    },
    "member": {
      "$ref": "#/definitions/PublicMemberReference"
    },
    "member_type": {
      "readOnly": true,
      "title": "Member type",
      "type": "string",
      "x-nullable": true
    }
  },
  "type": "object"
}
```

### PublicUser

```json
{
  "properties": {
    "first_name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Имя",
      "type": "string"
    },
    "full_name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Full name",
      "type": "string"
    },
    "id": {
      "readOnly": true,
      "title": "ID",
      "type": "integer"
    },
    "last_name": {
      "minLength": 1,
      "readOnly": true,
      "title": "Фамилия",
      "type": "string",
      "x-nullable": true
    }
  },
  "required": [
    "id",
    "first_name",
    "last_name",
    "full_name"
  ],
  "type": "object"
}
```