Properties
| Name | Type | Description |
|---|---|---|
| repositoryName | string | The name of the repository where you want to add or update the file. |
| branchName | string | The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created. |
| fileContent | string | The content of the file, in binary object format. |
| filePath | string | The name of the file you want to add or update, including the relative path to the file in the repository. If the path does not currently exist in the repository, the path is created as part of adding |
| fileMode | string | The file mode permissions of the blob. Valid file mode permissions are listed here. |
| parentCommitId | string | The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID |
| commitMessage | string | A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful. |
| name | string | The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful. |
| string | An email address for the person adding or updating the file. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-put-file-input-schema.json",
"title": "PutFileInput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-codecommit-file-api-openapi.yml#/components/schemas/PutFileInput",
"type": "object",
"properties": {
"repositoryName": {
"type": "string",
"description": "The name of the repository where you want to add or update the file."
},
"branchName": {
"type": "string",
"description": "The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created."
},
"fileContent": {
"type": "string",
"format": "byte",
"description": "The content of the file, in binary object format."
},
"filePath": {
"type": "string",
"description": "The name of the file you want to add or update, including the relative path to the file in the repository. If the path does not currently exist in the repository, the path is created as part of adding the file."
},
"fileMode": {
"type": "string",
"enum": [
"EXECUTABLE",
"NORMAL",
"SYMLINK"
],
"description": "The file mode permissions of the blob. Valid file mode permissions are listed here."
},
"parentCommitId": {
"type": "string",
"description": "The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required. The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated."
},
"commitMessage": {
"type": "string",
"description": "A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful."
},
"name": {
"type": "string",
"description": "The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful."
},
"email": {
"type": "string",
"description": "An email address for the person adding or updating the file."
}
},
"required": [
"repositoryName",
"branchName",
"fileContent",
"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-put-file-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.