at.happyproto.server.getInstance
One of the caller's own instances. Customers only.
Details · query
| Kind | query |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Checks
Validunlimited-stringdefs.availableVersion.properties.labelNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.availableVersion.properties.versionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.planNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.slugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.stateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.versionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.versionLabelNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.operation.properties.errorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.operation.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.operation.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.operation.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.operation.properties.stepNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"availableVersion": {
"description": "A newer HappyView release the instance can upgrade to.",
"properties": {
"label": {
"description": "The HappyView version the release carries, e.g. 3.0.0-alpha.41, when known.",
"type": "string"
},
"releasedAt": {
"description": "When HappyProto first offered it.",
"format": "datetime",
"type": "string"
},
"version": {
"description": "The release to pass to at.happyproto.server.upgradeInstance.",
"type": "string"
}
},
"required": [
"version",
"releasedAt"
],
"type": "object"
},
"instance": {
"description": "A customer's HappyView instance. Never carries the provisioner's placement or internal fields.",
"properties": {
"availableVersion": {
"description": "A newer release, when one is on offer.",
"ref": "#availableVersion",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "A UUID.",
"type": "string"
},
"operation": {
"description": "The change in progress, if any.",
"ref": "#operation",
"type": "ref"
},
"plan": {
"description": "The plan's id.",
"type": "string"
},
"slug": {
"type": "string"
},
"state": {
"knownValues": [
"provisioning",
"running",
"stopped",
"failed",
"deleting"
],
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"version": {
"description": "The HappyView release it runs.",
"type": "string"
},
"versionLabel": {
"description": "The HappyView version the release carries, e.g. 3.0.0-alpha.41, when known.",
"type": "string"
}
},
"required": [
"id",
"slug",
"url",
"plan",
"version",
"state",
"createdAt"
],
"type": "object"
},
"main": {
"description": "One of the caller's own instances. 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": "id is not a UUID.",
"name": "InvalidRequest"
},
{
"description": "No such instance, or it is not the caller's. The two are indistinguishable.",
"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": {
"instance": {
"ref": "#instance",
"type": "ref"
}
},
"required": [
"instance"
],
"type": "object"
}
},
"parameters": {
"properties": {
"id": {
"description": "The instance's UUID.",
"type": "string"
}
},
"required": [
"id"
],
"type": "params"
},
"type": "query"
},
"operation": {
"properties": {
"error": {
"description": "The provisioner's error code, when it failed.",
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"knownValues": [
"create",
"update",
"upgrade",
"stop",
"start",
"destroy"
],
"type": "string"
},
"status": {
"knownValues": [
"pending",
"running",
"succeeded",
"failed"
],
"type": "string"
},
"step": {
"description": "The step it last reached.",
"type": "string"
}
},
"required": [
"id",
"kind",
"status"
],
"type": "object"
}
},
"id": "at.happyproto.server.getInstance",
"lexicon": 1
}