Integrations: Git

🔒 Дозаполнение изменённых диапазонов строк у синхронизированных коммитов репозитория (#26590): коммиты без диапазонов ставятся в очередь воркера синхронизации коммитов, он перечитывает их у провайдера по одному.

Дозаполнение изменённых диапазонов строк у синхронизированных коммитов репозитория (#26590): коммиты без диапазонов ставятся в очередь воркера синхронизации коммитов, он перечитывает их у провайдера по одному.

Access: authorized (10 ) · Scope: write

Allows: integration:git (все обязательны; без ресурса)

TypeScript (copy-paste)

POST /integration/git/commit/lines-backfill

<details open><summary><b>Params</b></summary>
export interface IntegrationGitCommitLinesBackfillParams {
  repositoryID: string
}
</details> <details open><summary><b>Response</b></summary>
export type IntegrationGitCommitLinesBackfillResponse = IServerResponse<Resp_integration_git_commit_lines-backfill>

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

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

post/integration/git/commit/lines-backfill

Request

  • Base URL: http://localhost
  • URL: http://localhost/integration/git/commit/lines-backfill
  • Auth: one of:
    • API key in header sid and API key in header rts and API key in header sig
    • HTTP bearer

Query parameters

repositoryIDstring uuid required

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

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.