space.highport.admin.setQuota
Schema Diff
+3 -3
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "space.highport.admin.setQuota",
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
"did",
11
11
"quota"
12
12
],
13
13
"properties": {
14
14
"did": {
15
15
"type": "string",
16
16
"format": "did"
17
17
},
18
18
"quota": {
19
19
"type": "string",
20
20
"knownValues": [
21
21
"sites",
22
22
"tiles",
23
23
"tileBytes",
24
24
"spaces",
25
25
"maxBlobBytes",
26
26
"monthlyBandwidthBytes"
27
27
]
28
28
},
29
29
"value": {
30
30
"type": "integer",
31
31
"minimum": 0,
32
-
"description": "The new limit: a count for sites, tiles and spaces, bytes for tileBytes, maxBlobBytes and monthlyBandwidthBytes. Absent clears the override."
32
+
"description": "The new limit: a count for sites, tiles and spaces, or bytes for tileBytes, maxBlobBytes and monthlyBandwidthBytes. Absent clears the override."
33
33
},
34
34
"reason": {
35
35
"type": "string",
36
36
"maxLength": 1000,
37
-
"description": "Why, for whoever reads getQuota next."
37
+
"description": "Why the override was set. Shown by getQuota."
38
38
}
39
39
}
40
40
},
41
41
"encoding": "application/json"
42
42
},
43
43
"output": {
44
44
"schema": {
45
45
"type": "object",
46
46
"required": [
47
47
"did",
48
48
"quotas"
49
49
],
50
50
"properties": {
51
51
"did": {
52
52
"type": "string",
53
53
"format": "did"
54
54
},
55
55
"quotas": {
56
56
"type": "array",
57
57
"items": {
58
58
"ref": "space.highport.admin.getQuota#quotaView",
59
59
"type": "ref"
60
60
}
61
61
}
62
62
}
63
63
},
64
64
"encoding": "application/json"
65
65
},
66
-
"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."
66
+
"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."
67
67
}
68
68
},
69
69
"$type": "com.atproto.lexicon.schema",
70
70
"lexicon": 1
71
71
}