at.happyproto.admin.getAutoscale
The autoscaler: on or paused, how many hosts it may add, what it is waiting on, and free capacity against its thresholds. Staff only.
Details · query
| Kind | query |
|---|---|
| Authority | admin.happyproto.at |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The autoscaler: on or paused, how many hosts it may add, what it is waiting on, and free capacity against its thresholds. Staff only.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not HappyProto staff, or the provisioner does not treat them as staff.",
"name": "Forbidden"
},
{
"description": "The input was malformed, or the provisioner refused it as malformed.",
"name": "InvalidRequest"
},
{
"description": "No such host request.",
"name": "NotFound"
},
{
"description": "Passed through from the provisioner.",
"name": "InvalidSlug"
},
{
"description": "Passed through from the provisioner.",
"name": "SlugTaken"
},
{
"description": "Passed through from the provisioner.",
"name": "NotEntitled"
},
{
"description": "Passed through from the provisioner.",
"name": "InstanceLimit"
},
{
"description": "Passed through from the provisioner.",
"name": "NoCapacity"
},
{
"description": "Passed through from the provisioner.",
"name": "OperationInProgress"
},
{
"description": "Only a failed request can be retried.",
"name": "NotRetryable"
},
{
"description": "A registered or cancelled request cannot be cancelled.",
"name": "NotCancellable"
},
{
"description": "Another host request is under way.",
"name": "RequestInFlight"
},
{
"description": "The provisioner has no GitHub App to start workflows with.",
"name": "ScalerNotConfigured"
},
{
"description": "The request's host already has a host row: retire it, or set it active and leave the request. The message says which.",
"name": "HostRegistered"
},
{
"description": "confirm is not the request's host name.",
"name": "ConfirmationMismatch"
},
{
"description": "GitHub would not start the workflow. The request is unchanged.",
"name": "DispatchFailed"
},
{
"description": "The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.",
"name": "Upstream"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"autoscale": {
"ref": "at.happyproto.admin.defs#autoscale",
"type": "ref"
}
},
"required": [
"autoscale"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "at.happyproto.admin.getAutoscale",
"lexicon": 1
}