GerritEvents

GerritEvents
GerritEvents

A list of Gerrit Event instances.

JSON Example
{
    "count": 0,
    "documents": {
        "documents": {
            "_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"
        }
    },
    "links": [
        "string"
    ],
    "totalCount": 0
}
integer As int64 As int64
count
Optional

Number of resources within the current page.

object
documents
Optional

Details of the queried resources.

array of string
links
Optional

Partial URLs representing the links to the queried resources.

integer As int64 As int64
totalCount
Optional

Number of resources across all pages.