🔒 Создание ветки задачи в репозитории проекта от ветки по умолчанию (#26575): вкладка «Git». Только исполнитель стадии «Исполнение» задачи разработки или ошибки (`task:work`).
Создание ветки задачи в репозитории проекта от ветки по умолчанию (#26575): вкладка «Git». Только исполнитель стадии «Исполнение» задачи разработки или ошибки (task:work).
Access: authorized (10 ) · Scope: write
Allows: task:work (все обязательны; ресурс — <тип>ID / ID из запроса, user:* — userID или сам пользователь)
TypeScript (copy-paste)
POST /integration/git/branch/create
<details open><summary><b>Params</b></summary>export interface IntegrationGitBranchCreateParams {
taskID: string
repositoryID: string
}
</details>
<details open><summary><b>Response</b></summary>
export type IntegrationGitBranchCreateResponse = IServerResponse<Resp_integration_git_branch_create>
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/integration/git/branch/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
Можно передать header taskID (сервер мержит headers+query)
Можно передать header repositoryID (сервер мержит headers+query)
Headers
UUID устройства клиента
Таймзона клиента (IANA или offset)
Имя клиентского приложения
Версия клиента
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_integration_git_branch_create>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.