Get Event By ID Using GET
Get a gerrit Event based on id
id
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
'Success' with gerrit Event
{
"_createTimeInMicros": 1568625938000000,
"_createdBy": "exampleuser",
"_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"_updateTimeInMicros": 1568625938000000,
"_updatedBy": "exampleuser",
"actionTaken": "Verified +1",
"branch": "master",
"changeNumber": 18823,
"createdAt": "2019-09-16 09:25:38.065065+00",
"createdBy": "exampleuser",
"createdOn": "2019-09-18T07:38:25.907+0000",
"description": "string",
"executionIndex": 1,
"executionLink": "/codestream/api/executions/08c20cb8-17b6-4d9c-9f15-c77cf4913bc5",
"executionStatus": "STARTED",
"gerritProject": "TestGerritProject",
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"listener": "Demo-Listener",
"message": "Execution Completed",
"name": "My-Name",
"owner": "Dummy User",
"patchSetNumber": 32,
"pipeline": "DemoPipeline",
"project": "My-Project",
"properties": {
"GERRIT_BRANCH": "master",
"GERRIT_EVENT_CREATED_ON": "1568792304",
"GERRIT_PATCHSET_REVISION": "8a3edf15d36d0fe8026ffefbd58bafdb77b4ab80",
"GERRIT_HOST": "gerrit.eng.vmware.com",
"GERRIT_CHANGE_OWNER_EMAIL": "[email protected]",
"GERRIT_EVENT_ACCOUNT_NAME": "Demo User",
"GERRIT_CHANGE_URL": "https://gerrit.eng.vmware.com/18868",
"GERRIT_PATCHSET_UPLOADER_EMAIL": "[email protected]",
"GERRIT_EVENT_TYPE": "patchset-created",
"GERRIT_PROJECT": "TestProjectForCodestream",
"GERRIT_PATCHSET_UPLOADER_USERNAME": "demouser",
"GERRIT_CHANGE_FILELIST": "[/COMMIT_MSG, file.txt]",
"GERRIT_CHANGE_NUMBER": "18868",
"GERRIT_SCHEME": "ssh",
"GERRIT_PATCHSET_UPLOADER": "Demo User [email protected]",
"GERRIT_URL": "http://gerrit.eng.vmware.com:8080",
"GERRIT_PORT": "29418",
"GERRIT_REFSPEC": "refs/changes/68/18868/32",
"GERRIT_PATCHSET_UPLOADER_NAME": "Demo User",
"GERRIT_CHANGE_OWNER": "Demo User \n [email protected]",
"GERRIT_CHANGE_COMMIT_MESSAGE": "1sdfsf\n\nChange-Id: I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00\n",
"GERRIT_NAME": "gerrit-listener",
"GERRIT_TOPIC": "branch",
"GERRIT_CHANGE_SUBJECT": "1sdfsf",
"GERRIT_EVENT_ACCOUNT_USERNAME": "demouser",
"GERRIT_CHANGE_OWNER_USERNAME": "demouser",
"GERRIT_EVENT_ACCOUNT": "Demo User \n [email protected]",
"GERRIT_CHANGE_ID": "I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00",
"GERRIT_VERSION": "Not supported",
"GERRIT_EVENT_ACCOUNT_EMAIL": "[email protected]",
"GERRIT_PATCHSET_NUMBER": "32",
"GERRIT_CHANGE_OWNER_NAME": "Demo User"
},
"subject": "Demo Commit Message",
"trigger": "Demo-Trigger",
"triggerType": "AUTOMATIC",
"type": "patchset-created",
"updatedAt": "2019-09-16 09:25:38.065065+00",
"updatedBy": "exampleuser",
"version": "v1"
}
This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'createdBy' field
Partial URL that provides details of the resource.
This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'updatedBy' field
Verified Label value along with the action posted to the gerrit server.
Gerrit Project branch on which the change has happened.
Gerrit ChangeSet Number provided by Gerrit Server in the event.
Date when the entity was created. The date is in ISO 8601 with time zone
The user that created this entity
Date and time on which this event is created.
A human-friendly description.
Index of the Execution.
Link of the execution.
Indicates the current status of the Execution.
Gerrit Project on which the change has happened.
The id of this resource.
Name of the Gerrit Listener which contains details of the Gerrit Server which has sent this event.
This includes detailed message regarding state of the execution.
A human-friendly name used as an identifier in APIs that support this option
Name and Email details of ChangeSet Owner.
Patch number of the ChangeSet provided by Gerrit Server in the event.
Name of the pipeline which got triggered.
The project this entity belongs to.
Map containing all ChangeSet related details.
Contains the commit message.
Name of the Gerrit Trigger which contains the configuration leading to this event.
Indicates whether it was a manual trigger or not.
Type of the gerrit event.
Date when the entity was last updated. The date is in ISO 8601 with time zone.
The user that last updated this entity
Version of the resource.
Unauthorized Request
Forbidden
Not Found
Server Error