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

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

updateEvent

Обновлено

PATCH /api/v1/tools/events

updateEvent

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

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["events:write"]

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

ПолеЗначение
0.description"Optional on PATCH; enables same-key replay and changed-body rejection."
0.in"header"
0.name"Idempotency-Key"
0.requiredfalse
0.schema0.schema

Тело запроса

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

Ответы

ПолеЗначение
200.content.application/json.schemaEventView
200.description"updateEvent"

Ошибки

ПолеЗначение
400.content.application/problem+json.schemaProblemDetails
400.description"VALIDATION_ERROR or IDEMPOTENCY_KEY_REQUIRED"
401.content.application/problem+json.schemaProblemDetails
401.description"INVALID_API_KEY: X-Api-Key OR Bearer tgf_*; surface JWT is not accepted."
403.content.application/problem+json.schemaProblemDetails
403.description"INSUFFICIENT_SCOPE or PUBLISHABLE_KEY_NOT_ALLOWED"
404.content.application/problem+json.schemaProblemDetails
404.description"NOT_FOUND: event or ticket sequence is absent from this tenant."
409.content.application/problem+json.schemaProblemDetails
409.description"CONFLICT: idempotency request still processing"
413.content.application/problem+json.schemaProblemDetails
413.description"PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED"
422.content.application/problem+json.schemaProblemDetails
422.description"IDEMPOTENCY_KEY_MISMATCH"
429.content.application/problem+json.schemaProblemDetails
429.description"RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE"
429.headers.Retry-After.description"Seconds supplied by the resource guard when available."
429.headers.Retry-After.schema429.headers.Retry-After.schema
500.content.application/problem+json.schemaProblemDetails
500.description"INTERNAL_ERROR"

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

ПолеЗначение
operationId"updateEvent"
summary"updateEvent"
tags["events"]
x-idempotency"optional-generic-cache"
x-paginationnull