Skip to content

Commit f61ed75

Browse files
chore: sync OpenAPI specs from PR #2820
1 parent 8b2f26e commit f61ed75

File tree

1 file changed

+4
-171
lines changed

1 file changed

+4
-171
lines changed

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

Lines changed: 4 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ components:
9898
schema:
9999
$ref: "#/components/schemas/Error"
100100
description: Error response - covers authentication, authorization, rate limiting, and server errors
101-
GetTemplateResponse:
102-
description: Successful operation
103-
content:
104-
application/json:
105-
schema:
106-
$ref: "#/components/schemas/GetTemplate"
107101
GetWebhookSubscriptionResponseResponse:
108102
description: Successful operation
109103
content:
@@ -117,18 +111,13 @@ components:
117111
$ref: "#/components/schemas/Error"
118112
description: Resource not found
119113
schemas:
120-
UnnamedSchema:
121-
type: string
122-
pattern: ^pagetemplate_[0-9a-z]{26}$
123114
ArraySchema:
124115
type: array
125116
items:
126117
$ref: "#/components/schemas/GetWebhookSubscriptionResponse"
127118
CreatePageRequest:
128119
type: object
129120
properties:
130-
templateId:
131-
type: string
132121
supplementaryContext:
133122
type: string
134123
customName:
@@ -325,6 +314,8 @@ components:
325314
createdAt:
326315
$ref: "#/components/schemas/CreatedAt"
327316
deletedAt:
317+
"0":
318+
$ref: "#/components/schemas/CreatedAt"
328319
anyOf:
329320
- $ref: "#/components/schemas/CreatedAt"
330321
- type: "null"
@@ -341,8 +332,6 @@ components:
341332
type: string
342333
pagesCount:
343334
type: number
344-
pageTemplateId:
345-
type: string
346335
scripts:
347336
type: array
348337
items: {}
@@ -364,7 +353,6 @@ components:
364353
- pageContext
365354
- pageGroupId
366355
- pagesCount
367-
- pageTemplateId
368356
- scripts
369357
- status
370358
- tenantId
@@ -391,6 +379,8 @@ components:
391379
type: array
392380
items: {}
393381
deletedAt:
382+
"0":
383+
$ref: "#/components/schemas/CreatedAt"
394384
anyOf:
395385
- $ref: "#/components/schemas/CreatedAt"
396386
- type: "null"
@@ -406,8 +396,6 @@ components:
406396
type: string
407397
pageId:
408398
type: string
409-
pageTemplateId:
410-
type: string
411399
scripts:
412400
type: array
413401
items: {}
@@ -426,7 +414,6 @@ components:
426414
- name
427415
- pageContext
428416
- pageId
429-
- pageTemplateId
430417
- scripts
431418
- tenantId
432419
- updatedAt
@@ -498,20 +485,10 @@ components:
498485
anyOf:
499486
- type: string
500487
- type: "null"
501-
templateId:
502-
anyOf:
503-
- type: string
504-
- type: "null"
505-
templateVersion:
506-
anyOf:
507-
- type: number
508-
- type: "null"
509488
required:
510489
- versionId
511490
- versionNumber
512491
- publishedAt
513-
- templateId
514-
- templateVersion
515492
additionalProperties: false
516493
- type: "null"
517494
required:
@@ -525,101 +502,6 @@ components:
525502
- supplementaryContext
526503
- publishedVersion
527504
additionalProperties: false
528-
GetTemplate:
529-
type: object
530-
properties:
531-
hasMore:
532-
type: boolean
533-
items:
534-
type: array
535-
items:
536-
type: object
537-
properties:
538-
createdAt:
539-
type: string
540-
description:
541-
anyOf:
542-
- type: string
543-
- type: "null"
544-
isEditable:
545-
type: boolean
546-
isSystem:
547-
type: boolean
548-
name:
549-
type: string
550-
pageTemplateId:
551-
type: string
552-
sourcePageTemplateId:
553-
anyOf:
554-
- type: string
555-
- type: "null"
556-
templateContent:
557-
type: string
558-
updatedAt:
559-
anyOf:
560-
- type: string
561-
- type: "null"
562-
version:
563-
type: number
564-
required:
565-
- createdAt
566-
- description
567-
- isEditable
568-
- isSystem
569-
- name
570-
- pageTemplateId
571-
- sourcePageTemplateId
572-
- templateContent
573-
- updatedAt
574-
- version
575-
additionalProperties: false
576-
nextCursor:
577-
type: string
578-
required:
579-
- hasMore
580-
- items
581-
additionalProperties: false
582-
GetTemplateResponse:
583-
type: object
584-
properties:
585-
createdAt:
586-
$ref: "#/components/schemas/CreatedAt"
587-
description:
588-
anyOf:
589-
- type: string
590-
- type: "null"
591-
isEditable:
592-
type: boolean
593-
isSystem:
594-
type: boolean
595-
name:
596-
type: string
597-
pageTemplateId:
598-
$ref: "#/components/schemas/UnnamedSchema"
599-
sourcePageTemplateId:
600-
anyOf:
601-
- $ref: "#/components/schemas/UnnamedSchema"
602-
- type: "null"
603-
templateContent:
604-
type: string
605-
updatedAt:
606-
anyOf:
607-
- $ref: "#/components/schemas/CreatedAt"
608-
- type: "null"
609-
version:
610-
type: number
611-
required:
612-
- createdAt
613-
- description
614-
- isEditable
615-
- isSystem
616-
- name
617-
- pageTemplateId
618-
- sourcePageTemplateId
619-
- templateContent
620-
- updatedAt
621-
- version
622-
additionalProperties: false
623505
GetVersion:
624506
type: object
625507
properties:
@@ -1002,53 +884,6 @@ paths:
1002884
schema:
1003885
$ref: "#/components/schemas/CreateProspectLogRequest"
1004886
required: true
1005-
/v0/templates:
1006-
get:
1007-
description: List templates for the authenticated tenant with pagination
1008-
operationId: listTenantTemplates
1009-
responses:
1010-
"200":
1011-
$ref: "#/components/responses/GetTemplateResponse"
1012-
summary: List tenant templates
1013-
tags:
1014-
- Templates
1015-
parameters:
1016-
- $ref: "#/components/parameters/CursorQuery"
1017-
- $ref: "#/components/parameters/LimitQuery"
1018-
/v0/templates/system:
1019-
get:
1020-
description: List system templates with pagination
1021-
operationId: listSystemTemplates
1022-
responses:
1023-
"200":
1024-
$ref: "#/components/responses/GetTemplateResponse"
1025-
summary: List system templates
1026-
tags:
1027-
- Templates
1028-
parameters:
1029-
- $ref: "#/components/parameters/CursorQuery"
1030-
- $ref: "#/components/parameters/LimitQuery"
1031-
/v0/templates/{template_id}:
1032-
get:
1033-
description: Get a specific template by ID
1034-
operationId: getTemplate
1035-
responses:
1036-
"200":
1037-
description: Successful operation
1038-
content:
1039-
application/json:
1040-
schema:
1041-
$ref: "#/components/schemas/GetTemplateResponse"
1042-
summary: Get template
1043-
tags:
1044-
- Templates
1045-
parameters:
1046-
- in: path
1047-
name: template_id
1048-
description: template_id parameter
1049-
required: true
1050-
schema:
1051-
type: string
1052887
/v0/webhook_subscriptions:
1053888
get:
1054889
description: List webhook subscriptions for the authenticated tenant
@@ -1135,7 +970,5 @@ tags:
1135970
description: Page version management operations
1136971
- name: Prospect Logs
1137972
description: Prospect log ingestion operations
1138-
- name: Templates
1139-
description: Template read-only operations
1140973
- name: Webhook Subscriptions
1141974
description: Webhook subscription management operations

0 commit comments

Comments
 (0)