Features
🔒 Создание нового функционала (фичи) с автоматической инициализацией аналитических и UI задач.
Создание нового функционала (фичи) с автоматической инициализацией аналитических и UI задач.
Access: authorized (10 ) · Scope: write
Allows: feature:create (все обязательны; ресурс — fields.productID)
TypeScript (copy-paste)
POST /projects/feature/create
<details open><summary><b>Params</b></summary>export interface ProjectsFeatureCreateParams {
skipCreateContent?: boolean | null
}
</details>
<details open><summary><b>Body (Partial)</b></summary>
// Patch-body: все поля опциональны (Valid.Patch)
export type ProjectsFeatureCreateBody = Partial<Feature>
export interface ProjectsFeatureCreateBodyFields {
fields?: {
cID: string
projectID: string
productID: string
versionID: string
ID: string
key?: number | null
title: string
status: number
spec: string
gist?: string | null
meta?: Record<string, any> | null
analyticAssignee: string
ord: number
isDeleted?: boolean | null
deletedTS?: number | null
updTS: number
updUID: string
}
relations?: Array<any> | null
}
</details>
<details open><summary><b>Response</b></summary>
export type ProjectsFeatureCreateResponse = IServerResponse<Feature>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
post/projects/feature/create
Request
- Base URL: http://localhost
- URL: http://localhost/projects/feature/create
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
skipCreateContentboolean nullable
Можно передать header skipCreateContent (сервер мержит 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<Feature>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.