From 3d58562255ef79cd0f95345692352432f66a2dca Mon Sep 17 00:00:00 2001 From: Abby Menting Date: Mon, 23 Aug 2021 17:36:11 -0700 Subject: [PATCH] Update rate header descriptions and sandbox extension --- .../product-fees-api-model/productFeesV0.json | 152 +++++++++--------- 1 file changed, 80 insertions(+), 72 deletions(-) diff --git a/models/product-fees-api-model/productFeesV0.json b/models/product-fees-api-model/productFeesV0.json index 8baadef..cae9fd4 100644 --- a/models/product-fees-api-model/productFeesV0.json +++ b/models/product-fees-api-model/productFeesV0.json @@ -51,17 +51,18 @@ "responses": { "200": { "description": "Success.", - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "FeesEstimateRequest": { - "MarketplaceId": "ATVPDKIKX0DER", - "IsAmazonFulfilled": false, - "PriceToEstimateFees": { - "ListingPrice": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "FeesEstimateRequest": { + "MarketplaceId": "ATVPDKIKX0DER", + "IsAmazonFulfilled": false, + "PriceToEstimateFees": { + "ListingPrice": { "CurrencyCode": "USD", "Amount": 10 }, @@ -129,8 +130,9 @@ } } } - } - ], + } + ] + }, "schema": { "$ref": "#/definitions/GetMyFeesEstimateResponse" }, @@ -147,30 +149,32 @@ }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "FeesEstimateRequest": { - "MarketplaceId": "WRNGMRKTPLCE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "FeesEstimateRequest": { + "MarketplaceId": "WRNGMRKTPLCE" + } } } - } } }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "Incorrect Marketplace identifier.", - "details": "" - } - ] + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "Incorrect Marketplace identifier.", + "details": "" + } + ] + } } - } - ], + ] + }, "schema": { "$ref": "#/definitions/GetMyFeesEstimateResponse" }, @@ -192,7 +196,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -236,7 +240,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -252,7 +256,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -268,7 +272,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -308,17 +312,18 @@ "responses": { "200": { "description": "Success.", - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "FeesEstimateRequest": { - "MarketplaceId": "ATVPDKIKX0DER", - "IsAmazonFulfilled": false, - "PriceToEstimateFees": { - "ListingPrice": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "FeesEstimateRequest": { + "MarketplaceId": "ATVPDKIKX0DER", + "IsAmazonFulfilled": false, + "PriceToEstimateFees": { + "ListingPrice": { "CurrencyCode": "USD", "Amount": 10 }, @@ -386,8 +391,9 @@ } } } - } - ], + } + ] + }, "schema": { "$ref": "#/definitions/GetMyFeesEstimateResponse" }, @@ -404,30 +410,32 @@ }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "FeesEstimateRequest": { - "MarketplaceId": "WRNGMRKTPLCE" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "FeesEstimateRequest": { + "MarketplaceId": "WRNGMRKTPLCE" + } } } - } } }, - "response": { - "errors": [ - { - "code": "InvalidInput", - "message": "Incorrect Marketplace identifier.", - "details": "" - } - ] + "response": { + "errors": [ + { + "code": "InvalidInput", + "message": "Incorrect Marketplace identifier.", + "details": "" + } + ] + } } - } - ], + ] + }, "schema": { "$ref": "#/definitions/GetMyFeesEstimateResponse" }, @@ -449,7 +457,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -493,7 +501,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -509,7 +517,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": { @@ -525,7 +533,7 @@ }, "headers": { "x-amzn-RateLimit-Limit": { - "description": "Your rate limit (requests per second) for this operation.", + "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.", "type": "string" }, "x-amzn-RequestId": {