Integrations: Git

🔓 Обработка системных вебхуков от GitLab (события создания/удаления проектов).

Обработка системных вебхуков от GitLab (события создания/удаления проектов).

Access: unauthorized (0 ) · Scope: write

TypeScript (copy-paste)

POST /integration/git/webhook/gitlab/system-webhook

<details open><summary><b>Params</b></summary>
export interface IntegrationGitWebhookGitlabSystemWebhookParams {
  cID: string
}
</details> <details open><summary><b>Response</b></summary>
export type IntegrationGitWebhookGitlabSystemWebhookResponse = IServerResponse<Resp_integration_git_webhook_gitlab_system-webhook>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
</details>

Полный файл типов: /docs/types · raw: /docs/api-types.ts

post/integration/git/webhook/gitlab/system-webhook

Request

  • Base URL: http://localhost
  • URL: http://localhost/integration/git/webhook/gitlab/system-webhook
  • Auth: none required

Query parameters

cIDstring uuid required

Можно передать header cID (сервер мержит 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

Уникальный ключ запроса для логов/саппорта

Response

OK — IServerResponse<Resp_integration_git_webhook_gitlab_system-webhook>

codeinteger required
srvTSinteger required

Server timestamp (ms)

rkeystring required

Request key

Example response

{
  "code": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.