Amazon CodeCommit · Schema
GetCommentsForPullRequestInput
CompanyVersion ControlAmazon Web ServicesCloud
Properties
| Name | Type | Description |
|---|---|---|
| pullRequestId | string | The system-generated ID of the pull request. To get this ID, use ListPullRequests. |
| repositoryName | string | The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included. |
| beforeCommitId | string | The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when re |
| afterCommitId | string | The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName i |
| nextToken | string | An enumeration token that, when provided in a request, returns the next batch of the results. |
| maxResults | integer | A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-get-comments-for-pull-request-input-schema.json",
"title": "GetCommentsForPullRequestInput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-codecommit-comment-api-openapi.yml#/components/schemas/GetCommentsForPullRequestInput",
"type": "object",
"properties": {
"pullRequestId": {
"type": "string",
"description": "The system-generated ID of the pull request. To get this ID, use ListPullRequests."
},
"repositoryName": {
"type": "string",
"description": "The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included."
},
"beforeCommitId": {
"type": "string",
"description": "The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included."
},
"afterCommitId": {
"type": "string",
"description": "The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included."
},
"nextToken": {
"type": "string",
"description": "An enumeration token that, when provided in a request, returns the next batch of the results."
},
"maxResults": {
"type": "integer",
"description": "A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request."
}
},
"required": [
"pullRequestId"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-codecommit-get-comments-for-pull-request-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.