at.happyproto.actor.getAccount

Whether the caller is a HappyProto customer, and how many instances they have of how many allowed. Any signed-in caller; a non-customer gets zeros.

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

Query

query · GET

Output

application/json

instanceCount

requiredinteger

Instances counting against the limit. 0 for a non-customer.

instanceLimit

requiredinteger

The most instances the caller may have. 0 for a non-customer.

isCustomer

requiredboolean

Whether the caller may use the customer endpoints.

Errors

AuthRequired

This endpoint requires an authenticated caller.

Forbidden

Passed through from the provisioner.

InvalidRequest

The provisioner refused the request as malformed. Not expected from this read; declared because every provisioner refusal is mapped the same way.

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.