space.highport.manage.register
Schema Diff
+1 -1
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
-
"description": "Registered to a different DID and still active.",
12
+
"description": "The domain is held and cannot be taken: registered to a different DID and proven (verified or active) or suspended; reserved under a base for a different DID and not released; or released with its wildcard certificate grant still being retired, which refuses every DID, the previous holder included, until the retirement finishes.",
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
38
},
39
39
{
40
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
41
"name": "DomainDelegated"
42
42
}
43
43
],
44
44
"input": {
45
45
"encoding": "application/json",
46
46
"schema": {
47
47
"properties": {
48
48
"domain": {
49
49
"maxLength": 253,
50
50
"type": "string"
51
51
},
52
52
"space": {
53
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.",
54
54
"format": "at-uri",
55
55
"type": "string"
56
56
}
57
57
},
58
58
"required": [
59
59
"domain"
60
60
],
61
61
"type": "object"
62
62
}
63
63
},
64
64
"output": {
65
65
"encoding": "application/json",
66
66
"schema": {
67
67
"properties": {
68
68
"domain": {
69
69
"type": "string"
70
70
},
71
71
"expiresAt": {
72
72
"description": "After this time an unverified registration is released.",
73
73
"format": "datetime",
74
74
"type": "string"
75
75
},
76
76
"records": {
77
77
"items": {
78
78
"ref": "space.highport.defs#dnsInstruction",
79
79
"type": "ref"
80
80
},
81
81
"type": "array"
82
82
},
83
83
"space": {
84
84
"format": "at-uri",
85
85
"type": "string"
86
86
},
87
87
"status": {
88
88
"ref": "space.highport.defs#domainStatus",
89
89
"type": "ref"
90
90
}
91
91
},
92
92
"required": [
93
93
"domain",
94
94
"status",
95
95
"records",
96
96
"expiresAt"
97
97
],
98
98
"type": "object"
99
99
}
100
100
},
101
101
"type": "procedure"
102
102
}
103
103
},
104
104
"id": "space.highport.manage.register",
105
105
"lexicon": 1
106
106
}