Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 3.7 KB

getdomainsresponsebody.md

File metadata and controls

58 lines (52 loc) · 3.7 KB

GetDomainsResponseBody

Successful response retrieving a list of domains.

Example Usage

import { GetDomainsResponseBody } from "@vercel/sdk/models/getdomainsop.js";

let value: GetDomainsResponseBody = {
  domains: [
    {
      verified: true,
      nameservers: [
        "ns1.nameserver.net",
        "ns2.nameserver.net",
      ],
      intendedNameservers: [
        "ns1.vercel-dns.com",
        "ns2.vercel-dns.com",
      ],
      customNameservers: [
        "ns1.nameserver.net",
        "ns2.nameserver.net",
      ],
      creator: {
        username: "vercel_user",
        email: "demo@example.com",
        id: "ZspSRT4ljIEEmMHgoDwKWDei",
      },
      teamId: "<id>",
      createdAt: 1613602938882,
      boughtAt: 1613602938882,
      expiresAt: 1613602938882,
      id: "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1",
      name: "example.com",
      orderedAt: 1613602938882,
      renew: true,
      serviceType: "zeit.world",
      transferredAt: 1613602938882,
      transferStartedAt: 1613602938882,
      userId: "<id>",
    },
  ],
  pagination: {
    count: 20,
    next: 1540095775951,
    prev: 1540095775951,
  },
};

Fields

Field Type Required Description
domains models.Domains[] ✔️ N/A
pagination models.Pagination ✔️ This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.