UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

14 lines (13 loc) 406 B
import { GlobalAction } from "../GlobalAction"; import { RequestMethod } from "../../AbstractRequest"; export class GetGlobalWebhooks extends GlobalAction { constructor(webhookId) { super(); this.customPath = "/webhook"; this.method = RequestMethod.GET; this.webhookId = webhookId; if (webhookId) { this.params = { id: webhookId }; } } }