Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 6.05 KB

getdeploymenteventsrequest.md

File metadata and controls

38 lines (33 loc) · 6.05 KB

GetDeploymentEventsRequest

Example Usage

import { GetDeploymentEventsRequest } from "@vercel/sdk/models/getdeploymenteventsop.js";

let value: GetDeploymentEventsRequest = {
  idOrUrl: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
  follow: 1,
  limit: 100,
  name: "bld_cotnkcr76",
  since: 1540095775941,
  until: 1540106318643,
  statusCode: "5xx",
  delimiter: 1,
  builds: 1,
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

Field Type Required Description Example
idOrUrl string ✔️ The unique identifier or hostname of the deployment. dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd
direction models.Direction Order of the returned events based on the timestamp. backward
follow number When enabled, this endpoint will return live events as they happen. 1
limit number Maximum number of events to return. Provide -1 to return all available logs. 100
name string Deployment build ID. bld_cotnkcr76
since number Timestamp for when build logs should be pulled from. 1540095775941
until number Timestamp for when the build logs should be pulled up until. 1540106318643
statusCode models.StatusCode HTTP status code range to filter events by. 5xx
delimiter number N/A 1
builds number N/A 1
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