Projects: Tasks

🔒 Получение списка задач с фильтрацией по сущностям, категориям, исполнителям и пагинацией.

Получение списка задач с фильтрацией по сущностям, категориям, исполнителям и пагинацией.

Access: authorized (10 ) · Scope: read

Allows: task:read, task:read-drafts (все обязательны; проверка в команде по ресурсу из запроса)

TypeScript (copy-paste)

GET /projects/task/list

<details open><summary><b>Params</b></summary>
export interface ProjectsTaskListParams {
  ID?: string | null
  type?: EntityType | null
  resolutionVersionID?: string | null
  allNestedTasks?: boolean | null
  notClosed?: boolean | null
  category?: TaskCategory | null
  status?: TaskStatus | null
  components?: Array<string> | null
  currentAssignee?: string | null
  nextCursor?: string | null
  sortBy?: projects_task_list_sortBy
}
</details> <details open><summary><b>Response</b></summary>
export type ProjectsTaskListResponse = IServerResponse<Resp_projects_task_list>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
</details>

Полный файл типов: /docs/types · raw: /docs/api-types.ts

get/projects/task/list

Request

  • Base URL: http://localhost
  • URL: http://localhost/projects/task/list
  • Auth: one of:
    • API key in header sid and API key in header rts and API key in header sig
    • HTTP bearer

Query parameters

IDstring uuid nullable

Можно передать header ID (сервер мержит headers+query)

type'project' | 'product' | 'module' | 'component' | 'version' | 'feature' | 'task' | 'bug'

project = "project", product = "product", module = "module", component = "component", version = "version", feature = "feature", task = "task", bug = "bug"

Можно передать header type (сервер мержит headers+query)

resolutionVersionIDstring uuid nullable

Можно передать header resolutionVersionID (сервер мержит headers+query)

allNestedTasksboolean nullable

Можно передать header allNestedTasks (сервер мержит headers+query)

notClosedboolean nullable

Можно передать header notClosed (сервер мержит headers+query)

category1 | 3 | 6 | 9

common = 1, dev = 3, qa = 6, bug = 9

Можно передать header category (сервер мержит headers+query)

status0 | 110 | 120 | 130 | 140 | 150 | 200

draft = 0, approval = 110, work = 120, review = 130, deployment = 140, testing = 150, closed = 200

Можно передать header status (сервер мержит headers+query)

componentsstring[] nullable

Можно передать header components (сервер мержит headers+query)

currentAssigneestring nullable

Можно передать header currentAssignee (сервер мержит headers+query)

nextCursorstring nullable

Можно передать header nextCursor (сервер мержит headers+query)

sortBy'ord' | 'createDT'

ord = "ord", createDT = "createDT"

Можно передать header sortBy (сервер мержит headers+query)

Headers

devIDstring uuid required

UUID устройства клиента

tzstring required
Example:Europe/Moscow

Таймзона клиента (IANA или offset)

appstring required
Example:kosmodrom-web

Имя клиентского приложения

appVerstring required
Example:1.0.0

Версия клиента

rKeystring

Уникальный ключ запроса для логов/саппорта

Response

OK — IServerResponse<Resp_projects_task_list>

codeinteger required
srvTSinteger required

Server timestamp (ms)

rkeystring required

Request key

Example response

{
  "code": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.