webhook

Get project webhook policy last trigger info

This endpoint returns last trigger information of project webhook policy.

get/projects/{project_name_or_id}/webhook/lasttrigger

Path parameters

project_name_or_idstring required

The name or id of the project

Headers

X-Request-Idstring

An unique ID for the request

X-Is-Resource-Nameboolean

The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name.

Response

Test webhook connection successfully.

policy_namestring

The webhook policy name.

event_typestring

The webhook event type.

enabledboolean

Whether or not the webhook policy enabled.

creation_timestring date-time

The creation time of webhook policy.

last_trigger_timestring date-time

The last trigger time of webhook policy.

Changes

No recorded changes to this endpoint across all 1 revision of this API.