@@ -1645,6 +1645,31 @@ paths:
16451645 requestBody:
16461646 content:
16471647 application/json:
1648+ examples:
1649+ interfaceResourceItem:
1650+ summary: Interface Resource Item Example
1651+ value:
1652+ resourceItem:
1653+ itemType: INTERFACE
1654+ interfaceKey: mainMenuTitle
1655+ localizedValue: Main Menu
1656+ schemaResourceItem:
1657+ summary: Schema Resource Item Example
1658+ value:
1659+ resourceItem:
1660+ itemType: SCHEMA
1661+ attributeKey: documentCategory
1662+ allowedValue: invoice
1663+ localizedValue: Facture
1664+ classificationResourceItem:
1665+ summary: Classification Resource Item Example
1666+ value:
1667+ resourceItem:
1668+ itemType: CLASSIFICATION
1669+ attributeKey: usageRegistrariat
1670+ allowedValue: ID
1671+ localizedValue: Gestion identitaire
1672+ classificationId: 219a7dd6-5fb2-4556-ad71-0ab4312fe577
16481673 schema:
16491674 $ref: '#/components/schemas/AddLocaleResourceItemRequest'
16501675 required: true
@@ -1862,6 +1887,17 @@ paths:
18621887 - FAILED_RETRY
18631888 type: string
18641889 style: form
1890+ - description: Fetch documents with an sync status
1891+ explode: true
1892+ in: query
1893+ name: syncStatus
1894+ required: false
1895+ schema:
1896+ enum:
1897+ - FULLTEXT_METADATA_FAILED
1898+ - FULLTEXT_CONTENT_FAILED
1899+ type: string
1900+ style: form
18651901 - description: Fetch soft deleted documents
18661902 explode: true
18671903 in: query
@@ -2439,15 +2475,6 @@ paths:
24392475 schema:
24402476 type: string
24412477 style: simple
2442- - description: Whether to enable WebSocket real-time communication with the
2443- request
2444- explode: true
2445- in: query
2446- name: ws
2447- required: false
2448- schema:
2449- type: string
2450- style: form
24512478 requestBody:
24522479 content:
24532480 application/json:
@@ -2917,15 +2944,6 @@ paths:
29172944 schema:
29182945 type: string
29192946 style: simple
2920- - description: Whether to enable WebSocket real-time communication with the
2921- request
2922- explode: true
2923- in: query
2924- name: ws
2925- required: false
2926- schema:
2927- type: string
2928- style: form
29292947 requestBody:
29302948 content:
29312949 application/json:
@@ -6419,7 +6437,7 @@ paths:
64196437 x-accepts:
64206438 - application/json
64216439 post:
6422- description: Adde a document to OpenSearch; available as an Add-On Module
6440+ description: Add a document to OpenSearch; available as an Add-On Module
64236441 operationId: AddDocumentFulltext
64246442 parameters:
64256443 - description: Site Identifier
@@ -6703,6 +6721,56 @@ paths:
67036721 $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200'
67046722 x-accepts:
67056723 - application/json
6724+ post:
6725+ description: Add a document to a service
6726+ operationId: AddDocumentSync
6727+ parameters:
6728+ - description: Site Identifier
6729+ explode: true
6730+ in: query
6731+ name: siteId
6732+ required: false
6733+ schema:
6734+ type: string
6735+ style: form
6736+ - description: Document Identifier
6737+ explode: false
6738+ in: path
6739+ name: documentId
6740+ required: true
6741+ schema:
6742+ type: string
6743+ style: simple
6744+ requestBody:
6745+ content:
6746+ application/json:
6747+ schema:
6748+ $ref: '#/components/schemas/AddDocumentSyncRequest'
6749+ required: false
6750+ responses:
6751+ "200":
6752+ content:
6753+ application/json:
6754+ schema:
6755+ $ref: '#/components/schemas/AddResponse'
6756+ description: 200 OK
6757+ headers:
6758+ Access-Control-Allow-Origin:
6759+ $ref: '#/components/headers/AccessControlAllowOrigin'
6760+ Access-Control-Allow-Methods:
6761+ $ref: '#/components/headers/AccessControlAllowMethods'
6762+ Access-Control-Allow-Headers:
6763+ $ref: '#/components/headers/AccessControlAllowHeaders'
6764+ security:
6765+ - ApiAuthorization: []
6766+ summary: Add document sync to service
6767+ tags:
6768+ - Documents
6769+ x-amazon-apigateway-integration:
6770+ $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200'
6771+ x-content-type: application/json
6772+ x-accepts:
6773+ - application/json
67066774 /userActivities:
67076775 get:
67086776 description: Retrieve a user's activities
@@ -11251,15 +11319,6 @@ components:
1125111319 schema:
1125211320 type: boolean
1125311321 style: form
11254- wsParam:
11255- description: Whether to enable WebSocket real-time communication with the request
11256- explode: true
11257- in: query
11258- name: ws
11259- required: false
11260- schema:
11261- type: string
11262- style: form
1126311322 groupParam:
1126411323 description: Group Identifier
1126511324 explode: true
@@ -14685,6 +14744,15 @@ components:
1468514744 $ref: '#/components/schemas/FulltextAttribute'
1468614745 type: object
1468714746 type: object
14747+ AddDocumentSyncRequest:
14748+ example:
14749+ sync:
14750+ service: FULLTEXT
14751+ type: METADATA
14752+ properties:
14753+ sync:
14754+ $ref: '#/components/schemas/AddDocumentSync'
14755+ type: object
1468814756 GetDocumentSyncResponse:
1468914757 example:
1469014758 next: next
@@ -14713,6 +14781,12 @@ components:
1471314781 $ref: '#/components/schemas/DocumentSync'
1471414782 type: array
1471514783 type: object
14784+ AddDocumentSyncService:
14785+ description: Add Document Sync Service
14786+ enum:
14787+ - FULLTEXT
14788+ - EVENTBRIDGE
14789+ type: string
1471614790 DocumentSyncService:
1471714791 description: Service of Document Sync
1471814792 enum:
@@ -14725,6 +14799,7 @@ components:
1472514799 enum:
1472614800 - COMPLETE
1472714801 - FAILED
14802+ - FAILED_RETRY
1472814803 - PENDING
1472914804 type: string
1473014805 DocumentSyncType:
@@ -14735,6 +14810,16 @@ components:
1473514810 - SOFT_DELETE
1473614811 - DELETE
1473714812 type: string
14813+ AddDocumentSync:
14814+ example:
14815+ service: FULLTEXT
14816+ type: METADATA
14817+ properties:
14818+ service:
14819+ $ref: '#/components/schemas/AddDocumentSyncService'
14820+ type:
14821+ $ref: '#/components/schemas/DocumentSyncType'
14822+ type: object
1473814823 DocumentSync:
1473914824 example:
1474014825 insertedDate: insertedDate
0 commit comments