Properties
| Name | Type | Description |
|---|---|---|
| repositoryName | string | The name of the repository where you create the commit. |
| branchName | string | The name of the branch where you create the commit. |
| parentCommitId | string | The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository. |
| 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 who created the commit. | |
| commitMessage | string | The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used. |
| 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. |
| putFiles | array | The files to add or update in this commit. |
| deleteFiles | array | The files to delete in this commit. These files still exist in earlier commits. |
| setFileModes | array | The file modes to update for files in this commit. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-create-commit-input-schema.json",
"title": "CreateCommitInput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-codecommit-commit-api-openapi.yml#/components/schemas/CreateCommitInput",
"type": "object",
"properties": {
"repositoryName": {
"type": "string",
"description": "The name of the repository where you create the commit."
},
"branchName": {
"type": "string",
"description": "The name of the branch where you create the commit."
},
"parentCommitId": {
"type": "string",
"description": "The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository."
},
"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 who created the commit."
},
"commitMessage": {
"type": "string",
"description": "The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used."
},
"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."
},
"putFiles": {
"type": "array",
"items": {
"$ref": "#/$defs/PutFileEntry"
},
"description": "The files to add or update in this commit."
},
"deleteFiles": {
"type": "array",
"items": {
"$ref": "#/$defs/DeleteFileEntry"
},
"description": "The files to delete in this commit. These files still exist in earlier commits."
},
"setFileModes": {
"type": "array",
"items": {
"$ref": "#/$defs/SetFileModeEntry"
},
"description": "The file modes to update for files in this commit."
}
},
"required": [
"repositoryName",
"branchName"
],
"$defs": {
"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"
]
},
"PutFileEntry": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The full path to the file in the repository, including the name of the file."
},
"fileMode": {
"type": "string",
"enum": [
"EXECUTABLE",
"NORMAL",
"SYMLINK"
],
"description": "The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL."
},
"fileContent": {
"type": "string",
"format": "byte",
"description": "The content of the file, if a source file is not specified."
},
"sourceFile": {
"$ref": "#/$defs/SourceFileSpecifier"
}
},
"required": [
"filePath"
]
},
"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"
]
},
"SourceFileSpecifier": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The full path to the file, including the name of the file."
},
"isMove": {
"type": "boolean",
"description": "Whether to remove the source file from the parent commit."
}
},
"required": [
"filePath"
]
}
}
}
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-create-commit-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.