at.happyproto.server.listPlans
The plans a new or changed instance can use. Customers only.
Details · query
| Kind | query |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Checks
Validunlimited-stringdefs.plan.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.plan.properties.nameNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The plans a new or changed instance can use. Customers only.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not a HappyProto customer, or the provisioner refused them.",
"name": "Forbidden"
},
{
"description": "The provisioner refused the request as malformed. Not expected from this read; declared because every provisioner refusal is mapped the same way.",
"name": "InvalidRequest"
},
{
"description": "Passed through from the provisioner.",
"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": "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": {
"plans": {
"items": {
"ref": "#plan",
"type": "ref"
},
"type": "array"
}
},
"required": [
"plans"
],
"type": "object"
}
},
"type": "query"
},
"plan": {
"properties": {
"cpuMillis": {
"description": "Thousandths of a CPU core.",
"type": "integer"
},
"diskGb": {
"type": "integer"
},
"id": {
"type": "string"
},
"memoryMb": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name",
"memoryMb",
"cpuMillis",
"diskGb"
],
"type": "object"
}
},
"id": "at.happyproto.server.listPlans",
"lexicon": 1
}