Integrations: Git
🔒 #26676 Решение по черновику технического паспорта: accept - черновик (с правкой или без) становится паспортом, отметка устаревания снимается; reject - черновик удаляется.
#26676 Решение по черновику технического паспорта: accept - черновик (с правкой или без) становится паспортом, отметка устаревания снимается; reject - черновик удаляется.
Access: authorized (10 ) · Scope: write
Allows: integration:git (все обязательны; без ресурса)
TypeScript (copy-paste)
POST /integration/git/passport/draft
<details open><summary><b>Body</b></summary>export interface IntegrationGitPassportDraftBody {
repositoryID: string
action: integration_git_passport_draft_Body_action
text?: string | null
}
</details>
<details open><summary><b>Response</b></summary>
export type IntegrationGitPassportDraftResponse = IServerResponse<Resp_integration_git_passport_draft>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
post/integration/git/passport/draft
Request
- Base URL: http://localhost
- URL: http://localhost/integration/git/passport/draft
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
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<Resp_integration_git_passport_draft>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.