643 matches
Infrastructure/ZEIT
Get a domain for the authenticated user by name
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"teamId": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
{
"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"
}
}
}
}
}