Skip to content

Commit 26a25b4

Browse files
chore: sync OpenAPI specs from PR #1259
1 parent f25e5df commit 26a25b4

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

services/external-actor-gateway-service/openapi.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2381,6 +2381,85 @@ webhooks:
23812381
additionalProperties: false
23822382
description: Triggered when a page version is published. The webhook payload contains details about the published page version including page ID, version ID, and publishing timestamp.
23832383
required: true
2384+
formSubmitted:
2385+
post:
2386+
description: Triggered when a form is submitted. The webhook payload contains details about the submitted form including form ID, submission ID, and submission timestamp.
2387+
responses:
2388+
"200":
2389+
description: Webhook received successfully
2390+
summary: Form Submitted
2391+
tags:
2392+
- Webhooks
2393+
requestBody:
2394+
content:
2395+
application/json:
2396+
schema:
2397+
type: object
2398+
properties:
2399+
eventId:
2400+
description: Unique identifier for this event
2401+
examples:
2402+
- evt_01j5k9m7n8p9q2r3s4t5v6w7x8
2403+
type: string
2404+
tenantId:
2405+
description: Tenant identifier for the event
2406+
examples:
2407+
- tenant_01j5k9m7n8p9q2r3s4t5v6w7x8
2408+
type: string
2409+
timestamp:
2410+
description: Timestamp when the event was processed
2411+
examples:
2412+
- 2024-01-15T10:30:00Z
2413+
type: string
2414+
format: date-time
2415+
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
2416+
payload:
2417+
type: object
2418+
properties:
2419+
type:
2420+
description: Event type identifier
2421+
type: string
2422+
enum:
2423+
- form.submitted
2424+
formId:
2425+
description: Unique identifier for the form
2426+
examples:
2427+
- form_01j5k9m7n8p9q2r3s4t5v6w7x8
2428+
type: string
2429+
submissionId:
2430+
description: Unique identifier for the form submission
2431+
examples:
2432+
- formsubmission_01j5k9m7n8p9q2r3s4t5v6w7x8
2433+
type: string
2434+
submittedAt:
2435+
description: Timestamp when the form submission was submitted
2436+
examples:
2437+
- 2024-01-15T10:30:00Z
2438+
type: string
2439+
format: date-time
2440+
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
2441+
input:
2442+
description: Input data for the form submission
2443+
examples:
2444+
- name: email
2445+
2446+
type: object
2447+
additionalProperties: {}
2448+
required:
2449+
- type
2450+
- formId
2451+
- submissionId
2452+
- submittedAt
2453+
- input
2454+
additionalProperties: false
2455+
required:
2456+
- eventId
2457+
- tenantId
2458+
- timestamp
2459+
- payload
2460+
additionalProperties: false
2461+
description: Triggered when a form is submitted. The webhook payload contains details about the submitted form including form ID, submission ID, and submission timestamp.
2462+
required: true
23842463
tags:
23852464
- name: Page Groups
23862465
description: Page group management operations

0 commit comments

Comments
 (0)