Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 3.89 KB

getwebhookresponsebody.md

File metadata and controls

30 lines (25 loc) · 3.89 KB

GetWebhookResponseBody

Example Usage

import { GetWebhookResponseBody } from "@simplesagar/vercel/models/getwebhookop.js";

let value: GetWebhookResponseBody = {
  events: [
    "deployment.created",
  ],
  id: "account_hook_GflD6EYyo7F4ViYS",
  url: "https://my-webhook.com",
  ownerId: "ZspSRT4ljIEEmMHgoDwKWDei",
  createdAt: 1567024758130,
  updatedAt: 1567024758130,
};

Fields

Field Type Required Description Example
events models.GetWebhookEvents[] ✔️ The webhooks events deployment.created
id string ✔️ The webhook id account_hook_GflD6EYyo7F4ViYS
url string ✔️ A string with the URL of the webhook https://my-webhook.com
ownerId string ✔️ The unique ID of the team the webhook belongs to ZspSRT4ljIEEmMHgoDwKWDei
createdAt number ✔️ A number containing the date when the webhook was created in in milliseconds 1567024758130
updatedAt number ✔️ A number containing the date when the webhook was updated in in milliseconds 1567024758130
projectIds string[] The ID of the projects the webhook is associated with [
"prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
]