К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-op-resumeinfrastructure.mdиндекс документации — /llms.txt

resumeInfrastructure

Обновлено

POST /api/v1/tools/onboarding/infrastructure/resume

resumeInfrastructure

Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

ПолеЗначение
security.0.hubApiKey[]
security.1.hubBearer[]
securitySchemes.hubApiKey.in"header"
securitySchemes.hubApiKey.name"X-Api-Key"
securitySchemes.hubApiKey.type"apiKey"
securitySchemes.hubBearer.scheme"bearer"
securitySchemes.hubBearer.type"http"
x-required-scopes["onboarding:write"]

Параметры запроса

ПолеЗначение
0.description"Canonical global response cache requires a key for a nonempty body; journey commands, direct bot connection, retry, tax, provider and billing cancellation also enforce it in the actual controller. Bot connection recovery uses its durable tenant reservation and accepts an empty body without a key."
0.in"header"
0.name"Idempotency-Key"
0.requiredfalse
0.schema0.schema

Тело запроса

ПолеЗначение
content.application/json.schemacontent.application/json.schema
requiredtrue

Ответы

ПолеЗначение
200.content.application/json.schema200.content.application/json.schema
200.description"Nothing was started: body.resume is accepted=false with reason not_blocked or mode_not_resumable; the body carries the current state."
201.content.application/json.schema201.content.application/json.schema
201.description"Infrastructure run started: body.resume is accepted=true, reason=queued. Poll state for progress."

Ошибки

ПолеЗначение
400.content.application/problem+json.schemaProblemDetails
400.description"Invalid input or missing idempotency key."
401.content.application/problem+json.schemaProblemDetails
401.description"Authentication required."
403.content.application/problem+json.schemaProblemDetails
403.description"Operation is not permitted."
409.content.application/problem+json.schemaProblemDetails
409.description"SG_DISCOVERY_STALE: the confirmed groups changed; refresh the discovery and confirm again."
429.content.application/problem+json.schemaProblemDetails
429.description"RATE_LIMIT_EXCEEDED: the owner resume is rate limited; details carries the sealed retry_at and retry_after_seconds, also sent as Retry-After."

Дополнительные условия

ПолеЗначение
operationId"resumeInfrastructure"
tags["onboarding"]
x-idempotency"http-cache"