curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key}/changes \
--header 'Accept: application/json'
{
"changes": [
{
"revision": "<string>",
"message": "<string>",
"authorName": "<string>",
"authorEmail": "<string>",
"timestamp": "<string>",
"scmUrl": "<string>"
}
],
"proposalTitle": "<string>",
"proposalBody": "<string>"
}List Changes
List changes on a branch.
curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key}/changes \
--header 'Accept: application/json'
{
"changes": [
{
"revision": "<string>",
"message": "<string>",
"authorName": "<string>",
"authorEmail": "<string>",
"timestamp": "<string>",
"scmUrl": "<string>"
}
],
"proposalTitle": "<string>",
"proposalBody": "<string>"
}curl --url http://localhost:8080/api/v2/environments/{environmentKey}/branches/{key}/changes \
--header 'Accept: application/json'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The environment identifier, e.g. 'production'.
The branch environment key.
Query Parameters
The revision to list changes from (exclusive). If not provided, lists from the beginning.
The maximum number of changes to return. Defaults to 10.
Response
OK
The response message for listing changes in a branched environment.
The list of changes.
Show child attributes
Show child attributes
The hydrated default proposal title for this branch, rendered from the applicable (built-in, server, or repository-level) template. The UI uses this as an editable default when opening a merge proposal.
The hydrated default proposal body for this branch, rendered from the applicable template.
Was this page helpful?