at.happyproto.admin.listInstances

Every instance, whoever owns it, with its placement. Staff only.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · query
Kindquery
Authorityadmin.happyproto.at
Indexed

Showing version bafyreihqgdj4hw2t4g2d4c35elj3ziwr76nofvpomhushauxazx2i2l66e. Show the latest

Query

query · GET

Parameters

query string

owner

string · did

Only this owner's instances.

Output

application/json

instances

requiredarray
itemsref
Reference

Errors

AuthRequired

This endpoint requires an authenticated caller.

Forbidden

The caller is not HappyProto staff, or the provisioner does not treat them as staff.

InvalidRequest

owner is not a DID, or the provisioner refused the request as malformed.

NotFound

Passed through from the provisioner.

InvalidSlug

Passed through from the provisioner.

SlugTaken

Passed through from the provisioner.

NotEntitled

Passed through from the provisioner.

InstanceLimit

Passed through from the provisioner.

NoCapacity

Passed through from the provisioner.

OperationInProgress

Passed through from the provisioner.

Upstream

The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.

#adminInstance

object

An instance as staff see it: the customer's view, plus its owner, placement and raw states.

Properties

A newer release, when one is on offer.

Reference

createdAt

requiredstring · datetime

desiredState

requiredstring

The provisioner's desired_state.

hostId

string

The host it is placed on. Absent until it is placed.

hostName

string

That host's name. Absent when the hosts list does not have it.

id

requiredstring

A UUID.

observedState

requiredstring

The provisioner's observed_state.

The change in progress, if any.

Reference

ownerDid

requiredstring · did

plan

requiredstring

The plan's id.

routed

requiredboolean

Whether its public URL routes to it.

slug

requiredstring

state

requiredstring
  • knownValues: provisioning | running | stopped | failed | deleting

url

requiredstring · uri

version

requiredstring

The HappyView release it runs.

The HappyView version the release carries, e.g. 3.0.0-alpha.41, when known.

#availableVersion

object

A newer HappyView release the instance can upgrade to.

Properties

label

string

The HappyView version the release carries, e.g. 3.0.0-alpha.41, when known.

releasedAt

requiredstring · datetime

When HappyProto first offered it.

version

requiredstring

The release to pass to at.happyproto.server.upgradeInstance.

#operation

object

Properties

error

string

The provisioner's error code, when it failed.

id

requiredstring

kind

requiredstring
  • knownValues: create | update | upgrade | stop | start | destroy

status

requiredstring
  • knownValues: pending | running | succeeded | failed

step

string

The step it last reached.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.