Back to index
Summary
Processes webhook events.tokenIdStringrequiredAccess token public ID to use for processing webhook request. httpMethodStringoptionalHTTP method for processing webhooks. webhookHeaderStringoptionalHeaders associated with the request in the JSON format. webhookPayloadStringoptionalPayload from webhook. webhookUrlStringoptionalFull raw URL of the CloudBees CD/RO server, as it is called by the third-party system. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>] . |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.processWebhookTrigger( tokenId: "test-tokenId" /* optional arguments */ )