GitEvent

GitEvent
GitEvent

Git Event Model.

JSON Example
{
    "_createTimeInMicros": 1568625938000000,
    "_createdBy": "exampleuser",
    "_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
    "_updateTimeInMicros": 1568625938000000,
    "_updatedBy": "exampleuser",
    "commitId": "dvdsasfvaesvvffvgfbrrgeaerfare34fdgrt43",
    "createdAt": "2019-09-16 09:25:38.065065+00",
    "createdBy": "exampleuser",
    "description": "string",
    "executionIndex": 2,
    "executionLink": "/codestream/api/executions/08c20cb8-17b6-4d9c-9f15-c77cf4913bc5",
    "executionStatus": "STARTED",
    "httpURL": "https://<git-server-url>/<username>/<repo-name>",
    "id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
    "message": "Invalid Oauth Refresh token. Verify webhook configuration.",
    "name": "My-Name",
    "owner": "Demo User",
    "pipeline": "Demo Pipeline",
    "project": "My-Project",
    "repo": "MyRepository",
    "serverURL": {
        "absolute": false,
        "authority": "string",
        "fragment": "string",
        "host": "string",
        "opaque": false,
        "path": "string",
        "port": 0,
        "query": "string",
        "rawAuthority": "string",
        "rawFragment": "string",
        "rawPath": "string",
        "rawQuery": "string",
        "rawSchemeSpecificPart": "string",
        "rawUserInfo": "string",
        "scheme": "string",
        "schemeSpecificPart": "string",
        "userInfo": "string"
    },
    "serverWebhookId": "dvcsdweivcioekcxjhwiu4jd823idjekx",
    "subject": "Updating codestream-service.yaml",
    "targetBranch": "master",
    "timeStampInMicros": "2019-09-18T07:38:25.907+0000",
    "updatedAt": "2019-09-16 09:25:38.065065+00",
    "updatedBy": "exampleuser",
    "version": "v1"
}
integer As int64 As int64
_createTimeInMicros
Optional

This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds

string
_createdBy
Optional

This field is provided for backward compatibility. Contains the same value as the 'createdBy' field

string
_link
Optional

Partial URL that provides details of the resource.

integer As int64 As int64
_updateTimeInMicros
Optional

This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds

string
_updatedBy
Optional

This field is provided for backward compatibility. Contains the same value as the 'updatedBy' field

string
commitId
Optional

CommitId of the event triggered.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 8601 with time zone

string
createdBy
Optional

The user that created this entity

string
description
Required

A human-friendly description.

integer As int64 As int64
executionIndex
Optional

Pipeline execution index.

string
executionLink
Optional

Pipeline execution link.

string
executionStatus
Optional

Pipeline execution status.

string
httpURL
Optional

Url of the Git Repository.

string
id
Optional

The id of this resource.

string
message
Optional

Message is populated when an error occurs.

string
name
Required

A human-friendly name used as an identifier in APIs that support this option

string
owner
Optional

Owner Name who triggered the event.

string
pipeline
Optional

Pipeline to be executed when event is triggered.

string
project
Optional

The project this entity belongs to.

string
repo
Optional

RepoName corresponding to the event.

serverURL
Optional

serverURL

string
serverWebhookId
Optional

Git webhook id.

string
subject
Optional

Subject for the commit.

string
targetBranch
Optional

Branch name for which event is triggered.

integer As int64 As int64
timeStampInMicros
Optional

Commit Time for the event.

string
updatedAt
Optional

Date when the entity was last updated. The date is in ISO 8601 with time zone.

string
updatedBy
Optional

The user that last updated this entity

string
version
Optional

Version of the resource.