space.highport.manage.register
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Register a domain to the calling identity — or, with space, to a space the caller is the authority of — and obtain the DNS records needed to prove ownership and route traffic.",
6
6
"errors": [
7
7
{
8
8
"description": "Not a syntactically valid, non-reserved, public-suffix-safe domain.",
9
9
"name": "InvalidDomain"
10
10
},
11
11
{
12
12
"description": "Registered to a different DID and still active.",
13
13
"name": "DomainTaken"
14
14
},
15
15
{
16
16
"description": "On the operator denylist.",
17
17
"name": "DomainDenied"
18
18
},
19
19
{
20
20
"description": "This DID has reached its domain limit.",
21
21
"name": "QuotaExceeded"
22
22
},
23
23
{
24
24
"description": "Already registered to this DID; use getDomain to retrieve instructions.",
25
25
"name": "AlreadyRegistered"
26
26
},
27
27
{
28
28
"description": "Bard is not connected to that space; call connectSpace first.",
29
29
"name": "SpaceNotFound"
30
30
},
31
31
{
32
32
"description": "Only the space's authority may register a domain to it.",
33
33
"name": "NotSpaceAuthority"
34
34
},
35
35
{
36
36
"description": "Registered, but bard cannot currently read the space, so the domain will not serve until it can.",
37
37
"name": "SpaceNotSynced"
38
+
},
39
+
{
40
+
"description": "The domain is under a delegation base, whose names only the base's owner may register; the base's owner reserves them for other identities with reserveDomain.",
41
+
"name": "DomainDelegated"
38
42
}
39
43
],
40
44
"input": {
41
45
"encoding": "application/json",
42
46
"schema": {
43
47
"properties": {
44
48
"domain": {
45
49
"maxLength": 253,
46
50
"type": "string"
47
51
},
48
52
"space": {
49
53
"description": "Register the domain to a space bard is connected to rather than to the caller's public repo. The caller must be the space's authority.",
50
54
"format": "at-uri",
51
55
"type": "string"
52
56
}
53
57
},
54
58
"required": [
55
59
"domain"
56
60
],
57
61
"type": "object"
58
62
}
59
63
},
60
64
"output": {
61
65
"encoding": "application/json",
62
66
"schema": {
63
67
"properties": {
64
68
"domain": {
65
69
"type": "string"
66
70
},
67
71
"expiresAt": {
68
72
"description": "After this time an unverified registration is released.",
69
73
"format": "datetime",
70
74
"type": "string"
71
75
},
72
76
"records": {
73
77
"items": {
74
78
"ref": "space.highport.defs#dnsInstruction",
75
79
"type": "ref"
76
80
},
77
81
"type": "array"
78
82
},
79
83
"space": {
80
84
"format": "at-uri",
81
85
"type": "string"
82
86
},
83
87
"status": {
84
88
"ref": "space.highport.defs#domainStatus",
85
89
"type": "ref"
86
90
}
87
91
},
88
92
"required": [
89
93
"domain",
90
94
"status",
91
95
"records",
92
96
"expiresAt"
93
97
],
94
98
"type": "object"
95
99
}
96
100
},
97
101
"type": "procedure"
98
102
}
99
103
},
100
104
"id": "space.highport.manage.register",
101
105
"lexicon": 1
102
106
}