🔒 Получение статистики и ворклогов по статусам для указанной сущности.
Получение статистики и ворклогов по статусам для указанной сущности.
Access: authorized (10 ) · allowNullCompany: true · Scope: read
Allows: task:read, product:read, version:read, feature:read, meeting:read, task:costs, feature:costs, version:costs, product:costs, meeting:costs, worklog:no-margin (все обязательны; проверка в команде по ресурсу из запроса)
TypeScript (copy-paste)
GET /worklogs/status
<details open><summary><b>Params</b></summary>export interface WorklogsStatusParams {
ID: string
type: SystemEntityType
}
</details>
<details open><summary><b>Response</b></summary>
export type WorklogsStatusResponse = IServerResponse<Resp_worklogs_status>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
Request
- Base URL: http://localhost
- URL: http://localhost/worklogs/status
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
Можно передать header ID (сервер мержит headers+query)
project = "project", product = "product", module = "module", component = "component", version = "version", feature = "feature", task = "task", bug = "bug", meeting = "meeting"
Можно передать header type (сервер мержит headers+query)
Headers
UUID устройства клиента
Таймзона клиента (IANA или offset)
Имя клиентского приложения
Версия клиента
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_worklogs_status>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.