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