Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 2.56 KB

createcheckrequest.md

File metadata and controls

30 lines (25 loc) · 2.56 KB

CreateCheckRequest

Example Usage

import { CreateCheckRequest } from "@vercel/sdk/models/createcheckop.js";

let value: CreateCheckRequest = {
  deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
  requestBody: {
    name: "Performance Check",
    path: "/",
    blocking: true,
    detailsUrl: "http://example.com",
    externalId: "1234abc",
    rerequestable: true,
  },
};

Fields

Field Type Required Description Example
deploymentId string ✔️ The deployment to create the check for. dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6
teamId string The Team identifier to perform the request on behalf of. team_1a2b3c4d5e6f7g8h9i0j1k2l
slug string The Team slug to perform the request on behalf of. my-team-url-slug
requestBody models.CreateCheckRequestBody ✔️ N/A