Skip to content

Commit dfe65df

Browse files
committed
add realtime key to get and put config endpoints
1 parent 5dd667b commit dfe65df

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

specs/advanced-personalization/common/schemas/Configuration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,8 @@ status:
7474
$ref: '../enums.yml#/errorCodes'
7575
lastUpdatedAt:
7676
type: string
77+
78+
realtime:
79+
type: string
80+
enum: [enabled, disabled]
81+
description: Whether the realtime personalization feature is enabled.

specs/advanced-personalization/common/schemas/ConfigurationObject.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ configurationObject:
3838
$ref: './Configuration.yml#/profileType'
3939
status:
4040
$ref: './Configuration.yml#/status'
41-
required: [indices, personalzationReRanking, profileType, status]
41+
realtime:
42+
$ref: './Configuration.yml#/realtime'
43+
required: [indices, personalzationReRanking, profileType, status, realtime]

specs/advanced-personalization/paths/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ put:
6767
$ref: '../common/schemas/Configuration.yml#/personalizationReRanking'
6868
profileType:
6969
$ref: '../common/schemas/Configuration.yml#/profileType'
70-
required: [indices, personalizationReRanking, profileType]
70+
realtime:
71+
$ref: '../common/schemas/Configuration.yml#/realtime'
72+
required: [indices, personalizationReRanking, profileType, realtime]
7173
responses:
7274
'200':
7375
description: OK

0 commit comments

Comments
 (0)