From
bafyreihvqmedsr4d3cjg5rw5eez5hkro666dw7d7ii46dichedmnrf6rwq
indexed 2026-10-19 18:20 UTC
View this version
To
bafyreigznbkunxeouhud5kl6dx3wqh6j2h6svkyjv6zmogutmgkywdup4m
indexed 2026-10-29 15:36 UTC
View this version
Compatibility
backward compatible Backward compatible. 12 non-breaking changes.
Non-breaking changes (12)
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.freeDiskGb" }
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.freeMemoryMb" }
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.placeablePlans" }
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.placeablePlans:items" }
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts:output.unplaceablePlans" }
- AddedVertex AddedVertex { vertex_id: "at.happyproto.admin.listHosts:output.unplaceablePlans:items" }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.freeDiskGb", kind: "prop", name: Some("freeDiskGb") }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.freeMemoryMb", kind: "prop", name: Some("freeMemoryMb") }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.placeablePlans", kind: "prop", name: Some("placeablePlans") }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts#host.placeablePlans", tgt: "at.happyproto.admin.listHosts#host.placeablePlans:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts:output", tgt: "at.happyproto.admin.listHosts:output.unplaceablePlans", kind: "prop", name: Some("unplaceablePlans") }
- AddedEdge AddedEdge { src: "at.happyproto.admin.listHosts:output.unplaceablePlans", tgt: "at.happyproto.admin.listHosts:output.unplaceablePlans:items", kind: "items", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.freeDiskGb" }AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.freeMemoryMb" }AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.placeablePlans" }AddedVertex { vertex_id: "at.happyproto.admin.listHosts#host.placeablePlans:items" }AddedVertex { vertex_id: "at.happyproto.admin.listHosts:output.unplaceablePlans" }AddedVertex { vertex_id: "at.happyproto.admin.listHosts:output.unplaceablePlans:items" }
Notes
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.freeDiskGb", kind: "prop", name: Some("freeDiskGb") }
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.freeMemoryMb", kind: "prop", name: Some("freeMemoryMb") }
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts#host", tgt: "at.happyproto.admin.listHosts#host.placeablePlans", kind: "prop", name: Some("placeablePlans") }
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts#host.placeablePlans", tgt: "at.happyproto.admin.listHosts#host.placeablePlans:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts:output", tgt: "at.happyproto.admin.listHosts:output.unplaceablePlans", kind: "prop", name: Some("unplaceablePlans") }
- Non-breaking: AddedEdge { src: "at.happyproto.admin.listHosts:output.unplaceablePlans", tgt: "at.happyproto.admin.listHosts:output.unplaceablePlans:items", kind: "items", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"host": {55
"description": "A host. Never carries its addresses or agent certificate.",66
"properties": {77
"cpuMillis": {88
"type": "integer"99
},1010
"diskGb": {1111
"type": "integer"1212
},13
"freeDiskGb": {14
"description": "diskGb less reservedDiskGb. Negative when the host is over-committed.",15
"type": "integer"16
},17
"freeMemoryMb": {18
"description": "memoryMb less reservedMemoryMb. Negative when the host is over-committed.",19
"type": "integer"20
},1321
"id": {1422
"description": "A UUID.",1523
"type": "string"1624
},1725
"lastSeenAt": {1826
"description": "When its agent last answered. Absent if it never has.",1927
"format": "datetime",2028
"type": "string"2129
},2230
"memoryMb": {2331
"type": "integer"2432
},2533
"name": {2634
"type": "string"2735
},36
"placeablePlans": {37
"description": "Plans open for new instances that fit in this host's free memory and disk, smallest first. Empty unless the host is active.",38
"items": {39
"type": "string"40
},41
"type": "array"42
},2843
"reservedDiskGb": {29
"description": "Disk held by the plans of instances placed here and not yet purged.",44
"description": "Disk held by the plans of instances placed here and not yet purged. A deleted instance keeps its disk through its recovery window.",3045
"type": "integer"3146
},3247
"reservedMemoryMb": {3348
"description": "Memory those instances' plans hold.",3449
"type": "integer"3550
},3651
"state": {3752
"knownValues": [3853
"active",3954
"draining",4055
"degraded",4156
"retired"4257
],4358
"type": "string"4459
},4560
"tenantCount": {4661
"description": "Instances placed here and not deleted.",4762
"type": "integer"4863
}4964
},5065
"required": [5166
"id",5267
"name",5368
"state",5469
"memoryMb",5570
"cpuMillis",5671
"diskGb",5772
"tenantCount",5873
"reservedMemoryMb",5974
"reservedDiskGb"6075
],6176
"type": "object"6277
},6378
"main": {6479
"description": "Every host, with what its tenants hold. Staff only.",6580
"errors": [6681
{6782
"description": "This endpoint requires an authenticated caller.",6883
"name": "AuthRequired"6984
},7085
{7186
"description": "The caller is not HappyProto staff, or the provisioner does not treat them as staff.",7287
"name": "Forbidden"7388
},7489
{7590
"description": "The provisioner refused the request as malformed. Not expected from this read; declared because every provisioner refusal is mapped the same way.",7691
"name": "InvalidRequest"7792
},7893
{7994
"description": "Passed through from the provisioner.",8095
"name": "NotFound"8196
},8297
{8398
"description": "Passed through from the provisioner.",8499
"name": "InvalidSlug"85100
},86101
{87102
"description": "Passed through from the provisioner.",88103
"name": "SlugTaken"89104
},90105
{91106
"description": "Passed through from the provisioner.",92107
"name": "NotEntitled"93108
},94109
{95110
"description": "Passed through from the provisioner.",96111
"name": "InstanceLimit"97112
},98113
{99114
"description": "Passed through from the provisioner.",100115
"name": "NoCapacity"101116
},102117
{103118
"description": "Passed through from the provisioner.",104119
"name": "OperationInProgress"105120
},106121
{107122
"description": "The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.",108123
"name": "Upstream"109124
}110125
],111126
"output": {112127
"encoding": "application/json",113128
"schema": {114129
"properties": {115130
"hosts": {116131
"items": {117132
"ref": "#host",118133
"type": "ref"119134
},120135
"type": "array"136
},137
"unplaceablePlans": {138
"description": "Plans open for new instances that fit on no active host, smallest first. A new instance on one of these fails with NoCapacity. Absent from a provisioner that does not report it.",139
"items": {140
"type": "string"141
},142
"type": "array"121143
}122144
},123145
"required": [124146
"hosts"125147
],126148
"type": "object"127149
}128150
},129151
"type": "query"130152
}131153
},132154
"id": "at.happyproto.admin.listHosts",133155
"lexicon": 1134156
}