space.highport.admin.setQuota
Schema Diff
+4 -3
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "space.highport.admin.setQuota:input.quota", sort: "knownValues", old_value: "[\"sites\",\"tiles\",\"spaces\",\"maxBlobBytes\",\"monthlyBandwidthBytes\"]", new_value: "[\"sites\",\"tiles\",\"tileBytes\",\"spaces\",\"maxBlobBytes\",\"monthlyBandwidthBytes\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "space.highport.admin.setQuota:input.quota", sort: "knownValues", old_value: "[\"sites\",\"tiles\",\"spaces\",\"maxBlobBytes\",\"monthlyBandwidthBytes\"]", new_value: "[\"sites\",\"tiles\",\"tileBytes\",\"spaces\",\"maxBlobBytes\",\"monthlyBandwidthBytes\"]" }
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
+
"tileBytes",
18
19
"spaces",
19
20
"maxBlobBytes",
20
21
"monthlyBandwidthBytes"
21
22
],
22
23
"type": "string"
23
24
},
24
25
"reason": {
25
-
"description": "Why, for whoever reads getQuota next.",
26
+
"description": "Why the override was set. Shown by getQuota.",
26
27
"maxLength": 1000,
27
28
"type": "string"
28
29
},
29
30
"value": {
30
-
"description": "The new limit: a count for sites, tiles and spaces, bytes for the other two. 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.",
31
32
"minimum": 0,
32
33
"type": "integer"
33
34
}
34
35
},
35
36
"required": [
36
37
"did",
37
38
"quota"
38
39
],
39
40
"type": "object"
40
41
}
41
42
},
42
43
"output": {
43
44
"encoding": "application/json",
44
45
"schema": {
45
46
"properties": {
46
47
"did": {
47
48
"format": "did",
48
49
"type": "string"
49
50
},
50
51
"quotas": {
51
52
"items": {
52
53
"ref": "space.highport.admin.getQuota#quotaView",
53
54
"type": "ref"
54
55
},
55
56
"type": "array"
56
57
}
57
58
},
58
59
"required": [
59
60
"did",
60
61
"quotas"
61
62
],
62
63
"type": "object"
63
64
}
64
65
},
65
66
"type": "procedure"
66
67
}
67
68
},
68
69
"id": "space.highport.admin.setQuota",
69
70
"lexicon": 1
70
71
}