at.happyproto.server.getManagementTicket
A 60-second management ticket for one of the caller's instances, bound to the ticket key `keyProof` proves: a key the caller's browser generated and can't export. Send it to the instance as `Authorization: HV-Ticket <ticket>` with an `HV-Ticket-Proof` signed by that key for each request. Customers only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | server.happyproto.at |
| Commit rev | 3n2oarteio622 |
| Indexed |
Showing version bafyreifjouu7ebegrswjt5k3otzczbmajvdqy35orzyk3tbanwahhx3vea. Show the latest
Procedure
procedure · POSTInput
application/jsonThe instance's UUID.
A compact JWS signed by the ticket key, with `typ: hv-key-proof+jwt` and its public JWK in the header. Claims: `aud`, HappyProto's instance's issuer URL; `lxm`, `at.happyproto.server.getManagementTicket`; `dpop_jkt`, the thumbprint of the DPoP key signing this request; `iat`; `jti`.
Output
application/jsonErrors
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not a HappyProto customer, or the provisioner refused them.
InvalidRequest
instance is missing or not a UUID, keyProof is missing, or HappyView refused keyProof.
Unavailable
HappyView made no caller assertion for this sign-in, for example because it isn't a DPoP session. Signing in again may fix it. A sign-in from another app is refused by the provisioner and comes back as Upstream.
NotFound
No such instance, or it is not the caller's. The two are indistinguishable.
UnsupportedRelease
Passed through from the provisioner: the instance's HappyView release predates tickets.
TicketsDisabled
Passed through from the provisioner: tickets are not turned on.
Upstream
The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.