Manual Trigger Using POST

Manual Trigger Using POST

Manual trigger Gerrit event

Request
URI
POST
http://cava-s-182-041.eng.vmware.com//codestream/api/gerrit-events
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about


Request Body

gerritManualTrigger

GerritManualTrigger of type(s) application/json
Required
{
    "changeId": "I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00",
    "project": "Gerrit-Trigger-Project",
    "trigger": "Gerrit-Trigger"
}
string
changeId
Required

The ChangeSet Id corresponding to which the manual trigger has to be performed.

string
project
Required

The tango project to which Gerrit Trigger belongs to.

string
trigger
Required

Name of the Gerrit Trigger for which event has to be analysed.

Authentication
This operation uses the following authentication methods.
Responses
200

'Success' with Manual trigger Gerrit event

Returns ManualTriggerResponse of type(s) */*
{
    "message": "Manual Trigger Successful",
    "pipelinesTriggered": [
        "Pipeline-1",
        "Pipeline-2"
    ]
}
string
message
Optional

Message to acknowledge success or failure of action.

array of string
pipelinesTriggered
Optional

List of pipeline which got manually triggered.


401

Unauthorized Request

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Server Error

Operation doesn't return any data structure

Triggers Operations
POST
Clone Listener Using POST
POST
Clone Trigger Using POST
POST
Create Docker Registry Webhook Using POST
POST
Create Gerrit Listener Using POST
POST
Create Git Webhook Using POST
POST
Create Using POST 2
DELETE
Delete By Id Using DELETE
DELETE
Delete By Id Using DELETE 1
DELETE
Delete By Name Using DELETE
DELETE
Delete By Name Using DELETE 1
DELETE
Delete By Name Using DELETE 2
DELETE
Delete By Name Using DELETE 3
DELETE
Delete Using DELETE
DELETE
Delete Using DELETE 4
DELETE
Delete Using DELETE 5
DELETE
Delete Using DELETE 6
DELETE
Delete Using DELETE 7
GET
Get All Docker Events Using GET
GET
Get All Docker Registry Webhooks Using GET
GET
Get All Events Using GET
GET
Get All Gerrit Listeners Using GET
GET
Get All Git Events Using GET
GET
Get All Git Webhooks Using GET
GET
Get All Using GET 2
GET
Get Docker Event By ID Using GET
GET
Get Docker Registry Webhook By ID Using GET
GET
Get Docker Registry Webhook By Name Using GET
GET
Get Event By ID Using GET
GET
Get Gerrit Listener By ID Using GET
GET
Get Gerrit Listener By Name Using GET
GET
Get Gerrit Projects Using GET
GET
Get Gerrit Projects Using GET 1
GET
Get Git Event By ID Using GET
GET
Get Git Webhook By ID Using GET
GET
Get Git Webhook By Name Using GET
GET
Get Trigger By Name Using GET
GET
Get Trigger Using GET
POST
Manual Trigger Using POST
PATCH
Patch By Id Using PATCH
PATCH
Patch By Id Using PATCH 1
PATCH
Patch By Id Using PATCH 2
PATCH
Patch By Name Using PATCH
PATCH
Patch By Name Using PATCH 1
PATCH
Patch By Name Using PATCH 2
POST
Resume Or Rerun Event Using POST
POST
Resume Or Rerun Event Using POST 1
POST
Resume Or Rerun Event Using POST 2
PUT
Update By Id Using PUT 2
PUT
Update By Id Using PUT 3
PUT
Update By Name Using PUT
PUT
Update By Name Using PUT 2
PUT
Update By Name Using PUT 3
PUT
Update By Name Using PUT 4
PUT
Update Using PUT
PUT
Update Using PUT 1
POST
Validate Gerrit Listener Using POST