Integrations: Git
🔒 Действуют ли Git-разрешения API-токенов в компании: открыл ли администратор доступ агентов хотя бы у одного репозитория проекта (#26391). Для подсказки при выдаче токена.
Действуют ли Git-разрешения API-токенов в компании: открыл ли администратор доступ агентов хотя бы у одного репозитория проекта (#26391). Для подсказки при выдаче токена.
Access: authorized (10 ) · Scope: read
Allows: user:ai-tokens (все обязательны; ресурс — <тип>ID / ID из запроса, user:* — userID или сам пользователь)
TypeScript (copy-paste)
GET /integration/git/agent-access
<details open><summary><b>Response</b></summary>export type IntegrationGitAgentAccessResponse = IServerResponse<Resp_integration_git_agent-access>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
get/integration/git/agent-access
Request
- Base URL: http://localhost
- URL: http://localhost/integration/git/agent-access
- 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
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_integration_git_agent-access>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.