Projects: Tasks
🔒 Обновление существующей задачи: любые поля ITask - атрибуты, спецификация и результат, исполнители этапов, привязки к фиче/версии, затронутые модули и компоненты.
Обновление существующей задачи: любые поля ITask - атрибуты, спецификация и результат, исполнители этапов, привязки к фиче/версии, затронутые модули и компоненты.
Access: authorized (10 ) · Scope: write
Allows: task:update, task:move, task:approve (все обязательны; проверка в команде по ресурсу из запроса)
TypeScript (copy-paste)
POST /projects/task/update
<details open><summary><b>Params</b></summary>export interface ProjectsTaskUpdateParams {
ID: string
}
</details>
<details open><summary><b>Body (Partial)</b></summary>
// Patch-body: все поля опциональны (Valid.Patch)
export type ProjectsTaskUpdateBody = Partial<Task>
export interface ProjectsTaskUpdateBodyFields {
cID?: string
projectID?: string
productID?: string
versionID?: string | null
featureID?: string | null
ID?: string
status?: TaskStatus
state?: TaskState
category?: TaskCategory
type?: TaskType
priority?: TaskPriority
urgently?: number | null
title?: string
searchTitle?: string
key?: number
currentAssignee?: string
/** Unix timestamp in milliseconds */
ord?: number
spec?: string
gist?: string | null
modules?: Record<string, any> | null
components?: Record<string, any> | null
approvalAssignee?: string | null
workAssignee?: string
workIterationKey?: number | null
workTimePlan?: number | null
workEvaluation?: number | null
reviewAssignee?: string | null
testAssignee?: string | null
resolutionVersionID?: string | null
resolutionType?: TaskResolutionType | null
resolutionNote?: string | null
result?: string | null
meta?: Record<string, any> | null
git?: Record<string, any> | null
createDT?: string
creatorUID?: string
stage?: TaskStageType
browser?: TaskBrowser | null
bugType?: TaskBugType | null
build?: string | null
devices?: Array<any> | null
labels?: Array<any> | null
fuzzy?: boolean | null
/** Unix timestamp in milliseconds */
updTS?: number
isDeleted?: boolean | null
deletedTS?: number | null
updUID?: string
rejectUID?: string | null
rejectTS?: number | null
}
</details>
<details open><summary><b>Response</b></summary>
export type ProjectsTaskUpdateResponse = IServerResponse<Task>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
post/projects/task/update
Request
- Base URL: http://localhost
- URL: http://localhost/projects/task/update
- 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 required
Можно передать header ID (сервер мержит 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
Уникальный ключ запроса для логов/саппорта
Request body
Response
OK — IServerResponse<Task>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.