File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed
specs/advanced-personalization Expand file tree Collapse file tree 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:
88 description : HTTP status code for an authorization error.
99 enum : [401]
1010
11+ paymentRequired :
12+ type : integer
13+ description : HTTP status code for a payment required error.
14+ enum : [402]
15+
1116notFound :
1217 type : integer
1318 description : HTTP status code for a not found error.
Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ unauthorized:
1313 description : Details about the response, such as error messages.
1414 enum : [Unauthorized]
1515
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+
1623genericNotFound :
1724 type : string
1825 description : Details about the response, such as error messages.
Original file line number Diff line number Diff line change @@ -53,3 +53,11 @@ internalServerError:
5353 $ref : ' ./ErrorCodes.yml#/internalServerError'
5454 message :
5555 $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 9696 $ref : ' ../common/responses/BadRequest.yml'
9797 ' 401 ' :
9898 $ref : ' ../common/responses/Unauthorized.yml'
99+ ' 402 ' :
100+ $ref : ' ../common/responses/FeatureNotEnabled.yml'
99101 ' 500 ' :
100102 $ref : ' ../common/responses/InternalServerError.yml'
You can’t perform that action at this time.
0 commit comments