SourceRevision is a JSON Structure definition published by Amazon CodePipeline, describing 4 properties, of which 1 is 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-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-source-revision-structure.json",
"name": "SourceRevision",
"description": "Information about the version (or revision) of a source artifact that initiated a pipeline execution.",
"type": "object",
"properties": {
"actionName": {
"allOf": [
{
"$ref": "#/components/schemas/ActionName"
},
{
"description": "The name of the action that processed the revision to the source artifact."
}
]
},
"revisionId": {
"allOf": [
{
"$ref": "#/components/schemas/Revision"
},
{
"description": "The system-generated unique ID that identifies the revision number of the artifact."
}
]
},
"revisionSummary": {
"allOf": [
{
"$ref": "#/components/schemas/RevisionSummary"
},
{
"description": "Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a <code>codepipeline-artifact-revision-summary</code> key specified in the object metadata."
}
]
},
"revisionUrl": {
"allOf": [
{
"$ref": "#/components/schemas/Url"
},
{
"description": "The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page."
}
]
}
},
"required": [
"actionName"
]
}
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.