BranchDiffSourceCodeType is a JSON Structure definition published by Amazon CodeGuru Reviewer, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-branch-diff-source-code-type-structure.json",
"name": "BranchDiffSourceCodeType",
"description": "A type of <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> that specifies a code diff between a source and destination branch in an associated repository.",
"type": "object",
"properties": {
"SourceBranchName": {
"allOf": [
{
"$ref": "#/components/schemas/BranchName"
},
{
"description": "The source branch for a diff in an associated repository."
}
]
},
"DestinationBranchName": {
"allOf": [
{
"$ref": "#/components/schemas/BranchName"
},
{
"description": "The destination branch for a diff in an associated repository."
}
]
}
},
"required": [
"SourceBranchName",
"DestinationBranchName"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.