action zeit_get_domain { label: "Get a domain for the authenticated user by name" provider: zeit method: GET path: "/v4/domains/{name}" encoding: json input: { type: "object" properties: { name: { type: "string" } teamId: { type: "string" } } required: ["name"] additionalProperties: false } output: { type: "object" required: ["domain"] properties: { domain: { type: "object" description: "The domain information" required: ["aliases", "boughtAt", "cdnEnabled", "certs", "createdAt", "creator", "expiresAt", "id", "intendedNameservers", "name", "nameservers", "nsVerifiedAt", "serviceType", "suffix", "txtVerifiedAt", "verificationRecord", "verified"] properties: { aliases: { type: "array" description: "Collection of aliases where the domain is used." items: { type: "object" required: ["id", "alias", "created"] properties: { alias: { type: "string" } created: { type: "integer" } id: { type: "string" } } } } boughtAt: { type: "integer" description: "A timestamp to tell when the domain was purchase if it was purchased with ZEIT" } cdnEnabled: { type: "boolean" description: "Wether the Cloudfare CDN is enabled for the domain or not" } certs: { type: "array" description: "Collection of certs for the domain" items: { type: "object" required: ["id", "cns", "created"] properties: { cns: { type: "array" items: { type: "string" } } created: { type: "integer" } id: { type: "string" } } } } createdAt: { type: "integer" description: "A timestamp that shows when the domain was created" } creator: { type: "object" description: "Information about who added the domain" required: ["email", "id", "username"] properties: { customerId: { type: "string" } email: { type: "string" } id: { type: "string" } isDomainReseller: { type: "boolean" } username: { type: "string" } } } expiresAt: { type: "integer" description: "The expiration date for the domain in case it's in ZEIT" } id: { type: "string" description: "The unique identifier of the domain." } intendedNameservers: { type: "array" description: "The set of nameservers ZEIT requires the user to set to verify the domain with Nameservers" items: { type: "string" description: "An intended nameserver for the domain" } } name: { type: "string" description: "The domain name including the TLD" } nameservers: { type: "array" description: "The current nameservers we have detected for the domain" items: { type: "string" description: "A nameserver the domain has set" } } nsVerifiedAt: { type: "integer" description: "The timestamp of the last time the domain was verified using Nameservers" } orderedAt: { type: "integer" description: "A timestamp indicating when the domain was ordered if it was purchased with ZEIT" } serviceType: { type: "string" description: "Indicates the current DNS service the domain is using" enum: ["zeit.world", "external", "na"] } suffix: { type: "boolean" description: "Tells if the domain is being used as a custom suffix for the user or team" } transferredAt: { type: "integer" description: "If the domain was transferred to ZEIT, it indicates the timestamp for when the transfer was started" } txtVerifiedAt: { type: "integer" description: "The timestamp of the last time the domain was verified using a TXT record" } verificationRecord: { type: "string" description: "Indicates the verification record that should be used to verify the domain using a TXT record" } verified: { type: "boolean" description: "Indicates if the domain ownership was already verified" } } } } } }