Amazon CodeCommit · Schema

BatchDescribeMergeConflictsOutput

CompanyVersion ControlAmazon Web ServicesCloud

Properties

Name Type Description
conflicts array A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
nextToken string An enumeration token that can be used in a request to return the next batch of the results.
errors array A list of any errors returned while describing the merge conflicts for each file.
destinationCommitId string The commit ID of the destination commit specifier that was used in the merge evaluation.
sourceCommitId string The commit ID of the source commit specifier that was used in the merge evaluation.
baseCommitId string The commit ID of the merge base.
View JSON Schema on GitHub

JSON Schema

amazon-codecommit-batch-describe-merge-conflicts-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-batch-describe-merge-conflicts-output-schema.json",
  "title": "BatchDescribeMergeConflictsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-merge-conflict-api-openapi.yml#/components/schemas/BatchDescribeMergeConflictsOutput",
  "type": "object",
  "properties": {
    "conflicts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Conflict"
      },
      "description": "A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files."
    },
    "nextToken": {
      "type": "string",
      "description": "An enumeration token that can be used in a request to return the next batch of the results."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchDescribeMergeConflictsError"
      },
      "description": "A list of any errors returned while describing the merge conflicts for each file."
    },
    "destinationCommitId": {
      "type": "string",
      "description": "The commit ID of the destination commit specifier that was used in the merge evaluation."
    },
    "sourceCommitId": {
      "type": "string",
      "description": "The commit ID of the source commit specifier that was used in the merge evaluation."
    },
    "baseCommitId": {
      "type": "string",
      "description": "The commit ID of the merge base."
    }
  },
  "required": [
    "conflicts",
    "destinationCommitId",
    "sourceCommitId"
  ],
  "$defs": {
    "BatchDescribeMergeConflictsError": {
      "type": "object",
      "properties": {
        "filePath": {
          "type": "string",
          "description": "The path to the file."
        },
        "exceptionName": {
          "type": "string",
          "description": "The name of the exception."
        },
        "message": {
          "type": "string",
          "description": "The message provided by the exception."
        }
      },
      "required": [
        "filePath",
        "exceptionName",
        "message"
      ]
    },
    "Conflict": {
      "type": "object",
      "properties": {
        "conflictMetadata": {
          "$ref": "#/$defs/ConflictMetadata"
        },
        "mergeHunks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MergeHunk"
          },
          "description": "A list of hunks that contain the differences between files or lines causing the conflict."
        }
      }
    },
    "ConflictMetadata": {
      "type": "object",
      "properties": {
        "filePath": {
          "type": "string",
          "description": "The path of the file that contains conflicts."
        },
        "fileSizes": {
          "$ref": "#/$defs/FileSizes"
        },
        "fileModes": {
          "$ref": "#/$defs/FileModes"
        },
        "objectTypes": {
          "$ref": "#/$defs/ObjectTypes"
        },
        "numberOfConflicts": {
          "type": "integer",
          "description": "The number of conflicts, including both hunk conflicts and metadata conflicts."
        },
        "isBinaryFile": {
          "$ref": "#/$defs/IsBinaryFile"
        },
        "contentConflict": {
          "type": "boolean",
          "description": "A boolean value indicating whether there are conflicts in the content of a file."
        },
        "fileModeConflict": {
          "type": "boolean",
          "description": "A boolean value indicating whether there are conflicts in the file mode of a file."
        },
        "objectTypeConflict": {
          "type": "boolean",
          "description": "A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule."
        },
        "mergeOperations": {
          "$ref": "#/$defs/MergeOperations"
        }
      }
    },
    "FileModes": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "EXECUTABLE",
            "NORMAL",
            "SYMLINK"
          ],
          "description": "The file mode of a file in the source of a merge or pull request."
        },
        "destination": {
          "type": "string",
          "enum": [
            "EXECUTABLE",
            "NORMAL",
            "SYMLINK"
          ],
          "description": "The file mode of a file in the destination of a merge or pull request."
        },
        "base": {
          "type": "string",
          "enum": [
            "EXECUTABLE",
            "NORMAL",
            "SYMLINK"
          ],
          "description": "The file mode of a file in the base of a merge or pull request."
        }
      }
    },
    "FileSizes": {
      "type": "object",
      "properties": {
        "source": {
          "type": "integer",
          "description": "The size of a file in the source of a merge or pull request."
        },
        "destination": {
          "type": "integer",
          "description": "The size of a file in the destination of a merge or pull request."
        },
        "base": {
          "type": "integer",
          "description": "The size of a file in the base of a merge or pull request."
        }
      }
    },
    "IsBinaryFile": {
      "type": "object",
      "properties": {
        "source": {
          "type": "boolean",
          "description": "The binary or non-binary status of file in the source of a merge or pull request."
        },
        "destination": {
          "type": "boolean",
          "description": "The binary or non-binary status of a file in the destination of a merge or pull request."
        },
        "base": {
          "type": "boolean",
          "description": "The binary or non-binary status of a file in the base of a merge or pull request."
        }
      }
    },
    "MergeHunk": {
      "type": "object",
      "properties": {
        "isConflict": {
          "type": "boolean",
          "description": "A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true."
        },
        "source": {
          "$ref": "#/$defs/MergeHunkDetail"
        },
        "destination": {
          "$ref": "#/$defs/MergeHunkDetail"
        },
        "base": {
          "$ref": "#/$defs/MergeHunkDetail"
        }
      }
    },
    "MergeHunkDetail": {
      "type": "object",
      "properties": {
        "startLine": {
          "type": "integer",
          "description": "The start position of the hunk in the merge result."
        },
        "endLine": {
          "type": "integer",
          "description": "The end position of the hunk in the merge result."
        },
        "hunkContent": {
          "type": "string",
          "description": "The base-64 encoded content of the hunk merged region that might contain a conflict."
        }
      }
    },
    "MergeOperations": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "A",
            "M",
            "D"
          ],
          "description": "The operation (add, modify, or delete) on a file in the source of a merge or pull request."
        },
        "destination": {
          "type": "string",
          "enum": [
            "A",
            "M",
            "D"
          ],
          "description": "The operation on a file in the destination of a merge or pull request."
        }
      }
    },
    "ObjectTypes": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "FILE",
            "DIRECTORY",
            "GIT_LINK",
            "SYMBOLIC_LINK"
          ],
          "description": "The type of the object in the source branch."
        },
        "destination": {
          "type": "string",
          "enum": [
            "FILE",
            "DIRECTORY",
            "GIT_LINK",
            "SYMBOLIC_LINK"
          ],
          "description": "The type of the object in the destination branch."
        },
        "base": {
          "type": "string",
          "enum": [
            "FILE",
            "DIRECTORY",
            "GIT_LINK",
            "SYMBOLIC_LINK"
          ],
          "description": "The type of the object in the base commit of the merge."
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-codecommit-batch-describe-merge-conflicts-output"
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.