space.highport.admin.setQuota
Schema Diff
+3 -3
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Set one per-identity quota for one DID, replacing the deployment default for that identity, or clear the override so the default applies again. A lowered count refuses the next creation and takes nothing away; a bandwidth change also applies to the current month.",
5
+
"description": "Override one quota for one DID, or clear the override to restore the default. Lowering a count blocks new creations but removes nothing. A bandwidth change also applies to the current month.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"did": {
11
11
"format": "did",
12
12
"type": "string"
13
13
},
14
14
"quota": {
15
15
"knownValues": [
16
16
"sites",
17
17
"tiles",
18
18
"tileBytes",
19
19
"spaces",
20
20
"maxBlobBytes",
21
21
"monthlyBandwidthBytes"
22
22
],
23
23
"type": "string"
24
24
},
25
25
"reason": {
26
-
"description": "Why, for whoever reads getQuota next.",
26
+
"description": "Why the override was set. Shown by getQuota.",
27
27
"maxLength": 1000,
28
28
"type": "string"
29
29
},
30
30
"value": {
31
-
"description": "The new limit: a count for sites, tiles and spaces, bytes for tileBytes, maxBlobBytes and monthlyBandwidthBytes. Absent clears the override.",
31
+
"description": "The new limit: a count for sites, tiles and spaces, or bytes for tileBytes, maxBlobBytes and monthlyBandwidthBytes. Absent clears the override.",
32
32
"minimum": 0,
33
33
"type": "integer"
34
34
}
35
35
},
36
36
"required": [
37
37
"did",
38
38
"quota"
39
39
],
40
40
"type": "object"
41
41
}
42
42
},
43
43
"output": {
44
44
"encoding": "application/json",
45
45
"schema": {
46
46
"properties": {
47
47
"did": {
48
48
"format": "did",
49
49
"type": "string"
50
50
},
51
51
"quotas": {
52
52
"items": {
53
53
"ref": "space.highport.admin.getQuota#quotaView",
54
54
"type": "ref"
55
55
},
56
56
"type": "array"
57
57
}
58
58
},
59
59
"required": [
60
60
"did",
61
61
"quotas"
62
62
],
63
63
"type": "object"
64
64
}
65
65
},
66
66
"type": "procedure"
67
67
}
68
68
},
69
69
"id": "space.highport.admin.setQuota",
70
70
"lexicon": 1
71
71
}