Update rate header descriptions and sandbox extension

This commit is contained in:
Abby Menting 2021-08-24 10:27:14 -07:00
parent 3004befa23
commit 827087cdd9
1 changed files with 42 additions and 34 deletions

View File

@ -64,17 +64,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"body": { "parameters": {
"value": { "body": {
"inventory": { "value": {
"sellingParty": { "inventory": {
"partyId": "VENDORID" "sellingParty": {
}, "partyId": "VENDORID"
"isFullUpdate": false, },
"isFullUpdate": false,
"items": [ "items": [
{ {
"buyerProductIdentifier": "ABCD4562", "buyerProductIdentifier": "ABCD4562",
@ -127,7 +128,8 @@
} }
} }
} }
] ]
}
}, },
"400": { "400": {
"description": "Request has missing or invalid parameters and cannot be parsed.", "description": "Request has missing or invalid parameters and cannot be parsed.",
@ -144,26 +146,28 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"warehouseId": { "parameters": {
"value": "DUMMYCODE" "warehouseId": {
"value": "DUMMYCODE"
}
} }
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Invalid transmission ID.",
"details": ""
}
]
} }
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Invalid transmission ID.",
"details": ""
}
]
} }
} ]
] }
}, },
"403": { "403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
@ -183,6 +187,10 @@
"$ref": "#/definitions/SubmitInventoryUpdateResponse" "$ref": "#/definitions/SubmitInventoryUpdateResponse"
}, },
"headers": { "headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
@ -197,7 +205,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"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."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -213,7 +221,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"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."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -229,7 +237,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"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."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -245,7 +253,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"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."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -261,7 +269,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"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."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",