Skip to content

Commit

Permalink
Add raw models to version control
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Aug 8, 2024
1 parent a014c5a commit 0915d8f
Show file tree
Hide file tree
Showing 55 changed files with 149,465 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resources/models/raw/.gitignore

This file was deleted.

4,022 changes: 4,022 additions & 0 deletions resources/models/raw/seller/a-plus-content/v2020-11-01.json

Large diffs are not rendered by default.

1,892 changes: 1,892 additions & 0 deletions resources/models/raw/seller/amazon-warehousing-distribution/v2024-05-09.json

Large diffs are not rendered by default.

251 changes: 251 additions & 0 deletions resources/models/raw/seller/application-management/v2023-11-30.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
{
"openapi": "3.0.1",
"info": {
"title": "Selling Partner API for Application Management",
"description": "The Selling Partner API for Application Management lets you programmatically update the client secret on registered applications.",
"contact": {
"name": "Selling Partner API Developer Support",
"url": "https://sellercentral.amazon.com/gp/mws/contactus.html"
},
"license": {
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "2023-11-30"
},
"servers": [
{
"url": "https://sellingpartnerapi-na.amazon.com/"
}
],
"paths": {
"/applications/2023-11-30/clientSecret": {
"post": {
"tags": [
"Applications"
],
"description": "Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret).\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 0.0167 | 1 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "rotateApplicationClientSecret",
"responses": {
"204": {
"description": "Success.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
},
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"schema": {
"type": "string"
}
}
},
"content": {}
},
"400": {
"description": "The application has not enrolled for programmatic rotations. Please visit your developer console to enroll.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
},
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"404": {
"description": "The resource specified does not exist.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
},
"x-amzn-RateLimit-Limit": {
"description": "Your rate limit (requests per second) for this operation.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"413": {
"description": "The request size exceeded the maximum accepted size.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"415": {
"description": "The request payload is in an unsupported format.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"429": {
"description": "The frequency of requests was greater than allowed.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"500": {
"description": "An unexpected condition occurred that prevented the server from fulfilling the request.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
},
"503": {
"description": "Temporary overloading or maintenance of the server.",
"headers": {
"x-amzn-RequestId": {
"description": "Unique request reference identifier.",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorList"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ErrorList": {
"required": [
"errors"
],
"type": "object",
"properties": {
"errors": {
"type": "array",
"description": "array of errors",
"items": {
"$ref": "#/components/schemas/Error"
}
}
},
"description": "A list of error responses returned when a request is unsuccessful."
},
"Error": {
"required": [
"code",
"message"
],
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "An error code that identifies the type of error that occurred."
},
"message": {
"type": "string",
"description": "A message that describes the error condition."
},
"details": {
"type": "string",
"description": "Additional details that can help the caller understand or fix the issue."
}
},
"description": "Error response returned when the request is unsuccessful."
}
}
},
"x-original-swagger-version": "2.0"
}
Loading

0 comments on commit 0915d8f

Please sign in to comment.