dev.gitosphere.repository.authorizeOperation
Schema Diff
+12 -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
"errors": [
6
6
{
7
7
"name": "InvalidRequest"
8
8
},
9
9
{
10
10
"name": "AuthenticationRequired"
11
11
},
12
12
{
13
13
"name": "AccessDenied"
14
14
},
15
15
{
16
16
"name": "ResourceNotFound"
17
17
},
18
18
{
19
19
"description": "The Repository authorization or Space mapping changed after resolution. Resolve the Repository again before retrying.",
20
20
"name": "StaleRepositoryResolution"
21
21
},
22
22
{
23
23
"name": "DependencyUnavailable"
24
24
},
25
25
{
26
26
"name": "InternalServerError"
27
+
},
28
+
{
29
+
"description": "An invitation is required to use this service.",
30
+
"name": "InvitationRequired"
31
+
},
32
+
{
33
+
"description": "Service access for this DID is suspended.",
34
+
"name": "AccountSuspended"
35
+
},
36
+
{
37
+
"description": "An administrator has paused new requests for this target.",
38
+
"name": "ServicePaused"
27
39
}
28
40
],
29
41
"output": {
30
42
"encoding": "application/json",
31
43
"schema": {
32
44
"properties": {
33
45
"authorizationRevision": {
34
46
"maxLength": 128,
35
47
"minLength": 1,
36
48
"type": "string"
37
49
}
38
50
},
39
51
"required": [
40
52
"authorizationRevision"
41
53
],
42
54
"type": "object"
43
55
}
44
56
},
45
57
"parameters": {
46
58
"properties": {
47
59
"action": {
48
60
"description": "comment permits only server-prepared Pull Request discussion records for readers.",
49
61
"enum": [
50
62
"read",
51
63
"write",
52
64
"comment"
53
65
],
54
66
"type": "string"
55
67
},
56
68
"authorizationRevision": {
57
69
"maxLength": 128,
58
70
"minLength": 1,
59
71
"type": "string"
60
72
},
61
73
"collections": {
62
74
"items": {
63
75
"format": "nsid",
64
76
"type": "string"
65
77
},
66
78
"maxLength": 8,
67
79
"minLength": 1,
68
80
"type": "array"
69
81
},
70
82
"mutationId": {
71
83
"type": "string"
72
84
},
73
85
"realmId": {
74
86
"maxLength": 64,
75
87
"minLength": 1,
76
88
"type": "string"
77
89
},
78
90
"recordRepo": {
79
91
"description": "Authenticated PDS repository DID that will perform the record operation.",
80
92
"format": "did",
81
93
"type": "string"
82
94
},
83
95
"repositoryId": {
84
96
"maxLength": 64,
85
97
"minLength": 1,
86
98
"type": "string"
87
99
},
88
100
"spaceId": {
89
101
"format": "space-ref",
90
102
"type": "string"
91
103
}
92
104
},
93
105
"required": [
94
106
"realmId",
95
107
"repositoryId",
96
108
"recordRepo",
97
109
"authorizationRevision",
98
110
"action",
99
111
"collections"
100
112
],
101
113
"type": "params"
102
114
},
103
115
"type": "query"
104
116
}
105
117
},
106
118
"description": "Revalidates an authorized Repository resolution immediately before direct PDS record access.",
107
119
"id": "dev.gitosphere.repository.authorizeOperation",
108
120
"lexicon": 1
109
121
}