full diff

at.happyproto.server.listDomains

happyproto.at +16 −0
From
bafyreie7c7tu2efklb4xr3lz4dg3nr6l4zfn5zjz7sdvd6nb2ukn4a6zzi indexed 2026-10-28 22:19 UTC View this version
To
bafyreidkbr6wfxsklklvaq2co4crdyqzedcjmseqkybibcktgasravi4cq indexed 2026-10-29 15:52 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "at.happyproto.server.listDomains:output.requestedPrimary" }
  • AddedEdge AddedEdge { src: "at.happyproto.server.listDomains:output", tgt: "at.happyproto.server.listDomains:output.requestedPrimary", kind: "prop", name: Some("requestedPrimary") }

Migration guidance

Added

  • AddedVertex { vertex_id: "at.happyproto.server.listDomains:output.requestedPrimary" }

Notes

  • Non-breaking: AddedEdge { src: "at.happyproto.server.listDomains:output", tgt: "at.happyproto.server.listDomains:output.requestedPrimary", kind: "prop", name: Some("requestedPrimary") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "altRecord": {
55 "properties": {
66 "type": {
77 "description": "A.",
88 "type": "string"
99 },
1010 "value": {
1111 "description": "The instance host's public IPv4.",
1212 "type": "string"
1313 }
1414 },
1515 "required": [
1616 "type",
1717 "value"
1818 ],
1919 "type": "object"
2020 },
2121 "checks": {
2222 "properties": {
2323 "checkedAt": {
2424 "description": "When the check ran.",
2525 "type": "string"
2626 },
2727 "ownership": {
2828 "description": "Whether the TXT record carries this claim's token.",
2929 "knownValues": [
3030 "ok",
3131 "missing",
3232 "error"
3333 ],
3434 "type": "string"
3535 },
3636 "pointing": {
3737 "description": "Whether the hostname resolves to the instance's host. Absent when the check didn't get that far, such as when the TXT record was missing.",
3838 "knownValues": [
3939 "ok",
4040 "elsewhere",
4141 "error"
4242 ],
4343 "type": "string"
4444 }
4545 },
4646 "required": [
4747 "ownership",
4848 "checkedAt"
4949 ],
5050 "type": "object"
5151 },
5252 "domain": {
5353 "description": "A custom domain on one of the caller's instances.",
5454 "properties": {
5555 "checks": {
5656 "description": "The latest DNS check. Absent until the first check has run.",
5757 "ref": "#checks",
5858 "type": "ref"
5959 },
6060 "createdAt": {
6161 "description": "When the domain was added.",
6262 "type": "string"
6363 },
6464 "expiresAt": {
6565 "description": "When a pending claim expires if it is never verified. Absent once verified.",
6666 "type": "string"
6767 },
6868 "hostname": {
6969 "description": "The hostname, lowercase, internationalized names in punycode.",
7070 "type": "string"
7171 },
7272 "id": {
7373 "description": "The domain's UUID.",
7474 "type": "string"
7575 },
7676 "lapsesAt": {
7777 "description": "When HappyProto stops serving the domain if its TXT record stays missing. Absent while the record is present.",
7878 "type": "string"
7979 },
8080 "primary": {
8181 "description": "Whether this is the instance's primary domain, the one its PUBLIC_URL follows.",
8282 "type": "boolean"
8383 },
8484 "records": {
8585 "description": "The DNS records the customer publishes: the TXT that proves ownership, then the CNAME that points the hostname at the instance.",
8686 "items": {
8787 "ref": "#record",
8888 "type": "ref"
8989 },
9090 "type": "array"
9191 },
9292 "serving": {
9393 "description": "Whether the domain actually works: off until it is verified, issuing while its certificate is ordered, live once it serves over HTTPS.",
9494 "knownValues": [
9595 "routing",
9696 "issuing",
9797 "live",
9898 "failed",
9999 "off"
100100 ],
101101 "type": "string"
102102 },
103103 "state": {
104104 "description": "pending: waiting for the DNS records. verified: proven and served. lapsed: the TXT record went missing, and HappyProto stopped serving it; it recovers if the record comes back before expiresAt.",
105105 "knownValues": [
106106 "pending",
107107 "verified",
108108 "lapsed"
109109 ],
110110 "type": "string"
111111 },
112112 "verifiedAt": {
113113 "description": "When the domain was first verified.",
114114 "type": "string"
115115 }
116116 },
117117 "required": [
118118 "id",
119119 "hostname",
120120 "state",
121121 "primary",
122122 "records",
123123 "serving",
124124 "createdAt"
125125 ],
126126 "type": "object"
127127 },
128128 "main": {
129129 "description": "The domains of one of the caller's instances: its platform subdomain and any custom domain. Customers only.",
130130 "errors": [
131131 {
132132 "description": "This endpoint requires an authenticated caller.",
133133 "name": "AuthRequired"
134134 },
135135 {
136136 "description": "The caller is not a HappyProto customer, or the provisioner refused them.",
137137 "name": "Forbidden"
138138 },
139139 {
140140 "description": "instanceId is not a UUID.",
141141 "name": "InvalidRequest"
142142 },
143143 {
144144 "description": "No such instance or domain, or it is not the caller's. The cases are indistinguishable.",
145145 "name": "NotFound"
146146 },
147147 {
148148 "description": "Custom domains are not switched on yet.",
149149 "name": "NotAvailable"
150150 },
151151 {
152152 "description": "Passed through from the provisioner.",
153153 "name": "InvalidSlug"
154154 },
155155 {
156156 "description": "Passed through from the provisioner.",
157157 "name": "SlugTaken"
158158 },
159159 {
160160 "description": "Passed through from the provisioner.",
161161 "name": "NotEntitled"
162162 },
163163 {
164164 "description": "Passed through from the provisioner.",
165165 "name": "InstanceLimit"
166166 },
167167 {
168168 "description": "Passed through from the provisioner.",
169169 "name": "NoCapacity"
170170 },
171171 {
172172 "description": "Passed through from the provisioner: the instance is already changing, or a request with this idempotencyKey is still running.",
173173 "name": "OperationInProgress"
174174 },
175175 {
176176 "description": "Passed through from the provisioner.",
177177 "name": "InvalidHostname"
178178 },
179179 {
180180 "description": "Passed through from the provisioner.",
181181 "name": "PlatformHostname"
182182 },
183183 {
184184 "description": "Passed through from the provisioner.",
185185 "name": "DomainExists"
186186 },
187187 {
188188 "description": "Passed through from the provisioner.",
189189 "name": "DomainLimit"
190190 },
191191 {
192192 "description": "Passed through from the provisioner.",
193193 "name": "TooSoon"
194194 },
195195 {
196196 "description": "Passed through from the provisioner.",
197197 "name": "DomainIsPrimary"
198198 },
199199 {
200 "description": "Passed through from the provisioner.",
201 "name": "NotVerified"
202 },
203 {
204 "description": "Passed through from the provisioner.",
205 "name": "CertificateNotReady"
206 },
207 {
208 "description": "Passed through from the provisioner.",
209 "name": "VersionTooOld"
210 },
211 {
200212 "description": "The provisioner is unreachable, not configured, or answered with an error it does not explain to callers, or the job could not be started.",
201213 "name": "Upstream"
202214 }
203215 ],
204216 "output": {
205217 "encoding": "application/json",
206218 "schema": {
207219 "properties": {
208220 "domains": {
209221 "description": "The custom domains, at most one today.",
210222 "items": {
211223 "ref": "#domain",
212224 "type": "ref"
213225 },
214226 "type": "array"
215227 },
216228 "platform": {
217229 "ref": "#platformDomain",
218230 "type": "ref"
231 },
232 "requestedPrimary": {
233 "description": "The hostname the primary is switching to, while a switch is in flight. Absent otherwise. The primary flags keep describing the live primary until the instance has restarted onto it.",
234 "type": "string"
219235 }
220236 },
221237 "required": [
222238 "platform",
223239 "domains"
224240 ],
225241 "type": "object"
226242 }
227243 },
228244 "parameters": {
229245 "properties": {
230246 "instanceId": {
231247 "description": "The instance's UUID.",
232248 "type": "string"
233249 }
234250 },
235251 "required": [
236252 "instanceId"
237253 ],
238254 "type": "params"
239255 },
240256 "type": "query"
241257 },
242258 "platformDomain": {
243259 "properties": {
244260 "hostname": {
245261 "description": "The instance's own <slug>.hpy.at hostname, which always serves it.",
246262 "type": "string"
247263 },
248264 "primary": {
249265 "description": "Whether it is the instance's primary domain.",
250266 "type": "boolean"
251267 }
252268 },
253269 "required": [
254270 "hostname",
255271 "primary"
256272 ],
257273 "type": "object"
258274 },
259275 "record": {
260276 "properties": {
261277 "alt": {
262278 "description": "For an apex name, which cannot hold a CNAME: the A record to publish instead. Absent when the instance's host has no public IPv4.",
263279 "ref": "#altRecord",
264280 "type": "ref"
265281 },
266282 "name": {
267283 "description": "The record's name.",
268284 "type": "string"
269285 },
270286 "type": {
271287 "description": "TXT or CNAME.",
272288 "type": "string"
273289 },
274290 "value": {
275291 "description": "The record's value.",
276292 "type": "string"
277293 }
278294 },
279295 "required": [
280296 "type",
281297 "name",
282298 "value"
283299 ],
284300 "type": "object"
285301 }
286302 },
287303 "id": "at.happyproto.server.listDomains",
288304 "lexicon": 1
289305}

Compare other versions