Amazon CodeCommit · Schema
MergePullRequestBySquashInput
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 where the pull request was created. |
| sourceCommitId | string | The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does no |
| conflictDetailLevel | string | The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, |
| conflictResolutionStrategy | string | Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually be |
| commitMessage | string | The commit message to include in the commit information for the merge. |
| authorName | string | The name of the author who created the commit. This information is used as both the author and committer for the commit. |
| string | The email address of the person merging the branches. This information is used in the commit information for the merge. | |
| keepEmptyFolders | boolean | If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false. |
| conflictResolution | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-merge-pull-request-by-squash-input-schema.json",
"title": "MergePullRequestBySquashInput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-codecommit-operations-api-openapi.yml#/components/schemas/MergePullRequestBySquashInput",
"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 where the pull request was created."
},
"sourceCommitId": {
"type": "string",
"description": "The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID."
},
"conflictDetailLevel": {
"type": "string",
"enum": [
"FILE_LEVEL",
"LINE_LEVEL"
],
"description": "The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."
},
"conflictResolutionStrategy": {
"type": "string",
"enum": [
"NONE",
"ACCEPT_SOURCE",
"ACCEPT_DESTINATION",
"AUTOMERGE"
],
"description": "Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."
},
"commitMessage": {
"type": "string",
"description": "The commit message to include in the commit information for the merge."
},
"authorName": {
"type": "string",
"description": "The name of the author who created the commit. This information is used as both the author and committer for the commit."
},
"email": {
"type": "string",
"description": "The email address of the person merging the branches. This information is used in the commit information for the merge."
},
"keepEmptyFolders": {
"type": "boolean",
"description": "If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false."
},
"conflictResolution": {
"$ref": "#/$defs/ConflictResolution"
}
},
"required": [
"pullRequestId",
"repositoryName"
],
"$defs": {
"ConflictResolution": {
"type": "object",
"properties": {
"replaceContents": {
"type": "array",
"items": {
"$ref": "#/$defs/ReplaceContentEntry"
},
"description": "Files to have content replaced as part of the merge conflict resolution."
},
"deleteFiles": {
"type": "array",
"items": {
"$ref": "#/$defs/DeleteFileEntry"
},
"description": "Files to be deleted as part of the merge conflict resolution."
},
"setFileModes": {
"type": "array",
"items": {
"$ref": "#/$defs/SetFileModeEntry"
},
"description": "File modes that are set as part of the merge conflict resolution."
}
}
},
"DeleteFileEntry": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The full path of the file to be deleted, including the name of the file."
}
},
"required": [
"filePath"
]
},
"ReplaceContentEntry": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The path of the conflicting file."
},
"replacementType": {
"type": "string",
"enum": [
"KEEP_BASE",
"KEEP_SOURCE",
"KEEP_DESTINATION",
"USE_NEW_CONTENT"
],
"description": "The replacement type to use when determining how to resolve the conflict."
},
"content": {
"type": "string",
"format": "byte",
"description": "The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT."
},
"fileMode": {
"type": "string",
"enum": [
"EXECUTABLE",
"NORMAL",
"SYMLINK"
],
"description": "The file mode to apply during conflict resoltion."
}
},
"required": [
"filePath",
"replacementType"
]
},
"SetFileModeEntry": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The full path to the file, including the name of the file."
},
"fileMode": {
"type": "string",
"enum": [
"EXECUTABLE",
"NORMAL",
"SYMLINK"
],
"description": "The file mode for the file."
}
},
"required": [
"filePath",
"fileMode"
]
}
}
}
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-merge-pull-request-by-squash-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.