File tree 5 files changed +27
-0
lines changed
specs/advanced-personalization
5 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ description : Feature not enabled.
2
+ content :
3
+ application/json :
4
+ schema :
5
+ $ref : ' ../schemas/ErrorResponses.yml#/featureNotEnabled'
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ unauthorized:
8
8
description : HTTP status code for an authorization error.
9
9
enum : [401]
10
10
11
+ paymentRequired :
12
+ type : integer
13
+ description : HTTP status code for a payment required error.
14
+ enum : [402]
15
+
11
16
notFound :
12
17
type : integer
13
18
description : HTTP status code for a not found error.
Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ unauthorized:
13
13
description : Details about the response, such as error messages.
14
14
enum : [Unauthorized]
15
15
16
+ featureNotEnabled :
17
+ type : string
18
+ description : Details about the response, such as error messages.
19
+ enum :
20
+ - " Predictive profiles are not allowed for this app. Please contact support to upgrade your plan: https://support.algolia.com/"
21
+ - " Realtime Personalization is not allowed for this app. Please contact support to upgrade your plan: https://support.algolia.com/"
22
+
16
23
genericNotFound :
17
24
type : string
18
25
description : Details about the response, such as error messages.
Original file line number Diff line number Diff line change @@ -53,3 +53,11 @@ internalServerError:
53
53
$ref : ' ./ErrorCodes.yml#/internalServerError'
54
54
message :
55
55
$ref : ' ./ErrorMessages.yml#/internalServerError'
56
+
57
+ featureNotEnabled :
58
+ type : object
59
+ properties :
60
+ status :
61
+ $ref : ' ./ErrorCodes.yml#/paymentRequired'
62
+ message :
63
+ $ref : ' ./ErrorMessages.yml#/featureNotEnabled'
Original file line number Diff line number Diff line change 96
96
$ref : ' ../common/responses/BadRequest.yml'
97
97
' 401 ' :
98
98
$ref : ' ../common/responses/Unauthorized.yml'
99
+ ' 402 ' :
100
+ $ref : ' ../common/responses/FeatureNotEnabled.yml'
99
101
' 500 ' :
100
102
$ref : ' ../common/responses/InternalServerError.yml'
You can’t perform that action at this time.
0 commit comments