Get Gerrit Event

Get Gerrit Event

Get Gerrit event

Request
URI
GET
https://{api_host}/pipeline/api/gerrit-events/{id}
COPY
Path Parameters
string
id
Required

id


Responses
200

successful operation

Returns GerritEvent of type(s) application/json
{
    "name": "string",
    "kind": "string",
    "tags": [
        "string"
    ],
    "_link": "/pipeline/api/..",
    "_createdBy": "Test user",
    "_updatedBy": "Test user",
    "_updateTimeInMicros": 1499279153081002,
    "project": "Test Project",
    "timeStampInMicros": 1499256838758004,
    "type": "change-merged",
    "gerritProject": "Test project name",
    "branch": "develop",
    "triggerType": "develop",
    "changeId": "I02522f273eeb2059cba5d110a3982d7fdb1a3699",
    "changeURL": "http://gerritserver.test.com/12726",
    "subject": "Pipeline CI/CD commit message",
    "owner": "Test user",
    "providerLink": "/cs/api/gerrit-providers/providerlinkURL",
    "executionLink": "/pipeline/api/execution/executionlinkURL",
    "pipelineName": "/pipeline/api/pipelines/pipelinelinkURL",
    "executionIndex": 1,
    "executionStatus": "COMPLETED",
    "actionTaken": "Verified +1",
    "createdOn": 1234567,
    "changeNumber": 1,
    "patchSetNumber": 1,
    "message": "This is a message"
}
string
name
Optional

name

string
kind
Optional

kind

array of string
tags
Optional

tags

string
_link
Optional

_link

string
_createdBy
Optional

_createdBy

string
_updatedBy
Optional

updatedBy

integer As int64 As int64
_updateTimeInMicros
Optional

_updateTimeInMicros

string
project
Optional

project

integer As int64 As int64
timeStampInMicros
Optional

timeStampInMicros

string
type
Optional

type

string
gerritProject
Optional

project

string
branch
Optional

branch

string
triggerType
Optional

triggerType

string
changeId
Optional

changeId

string
changeURL
Optional

changeURL

string
subject
Optional

subject

string
owner
Optional

owner

object
properties
Optional

properties

string
providerLink
Optional

providerLink

string
executionLink
Optional

executionLink

string
pipelineName
Optional

pipelineName

integer As int64 As int64
executionIndex
Optional

executionIndex

string
executionStatus
Optional

executionStatus

string
actionTaken
Optional

actionTaken

integer As int64 As int64
createdOn
Optional

createdOn

integer As int64 As int64
changeNumber
Optional

changeNumber

integer As int64 As int64
patchSetNumber
Optional

patchSetNumber

string
message
Optional

message