full diff

at.happyproto.server.getManagementTicket

happyproto.at +8 −3
From
bafyreicpb3jgm2ovqn5vkg5vwprnnrvetsxvfok74efht5enqrrag73hsu indexed 2026-11-18 21:33 UTC View this version
To
bafyreifjouu7ebegrswjt5k3otzczbmajvdqy35orzyk3tbanwahhx3vea indexed 2026-11-19 14:10 UTC View this version

Compatibility

breaking 1 breaking change, 1 non-breaking change.

Breaking changes (1)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.happyproto.server.getManagementTicket:input", src: "at.happyproto.server.getManagementTicket:input", tgt: "at.happyproto.server.getManagementTicket:input.keyProof", kind: "prop", name: Some("keyProof") }
Non-breaking changes (1)
  • AddedVertex AddedVertex { vertex_id: "at.happyproto.server.getManagementTicket:input.keyProof" }

Migration guidance

Added

  • AddedVertex { vertex_id: "at.happyproto.server.getManagementTicket:input.keyProof" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "at.happyproto.server.getManagementTicket:input", src: "at.happyproto.server.getManagementTicket:input", tgt: "at.happyproto.server.getManagementTicket:input.keyProof", kind: "prop", name: Some("keyProof") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "A 60-second management ticket for one of the caller's instances, bound to the DPoP key the caller signed in with. Send it to the instance as `Authorization: HV-Ticket <ticket>` with an `HV-Ticket-Proof` for each request. Customers only.",
5 "description": "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.",
66 "errors": [
77 {
88 "description": "This endpoint requires an authenticated caller.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The caller is not a HappyProto customer, or the provisioner refused them.",
1313 "name": "Forbidden"
1414 },
1515 {
16 "description": "instance is missing or not a UUID.",
16 "description": "instance is missing or not a UUID, keyProof is missing, or HappyView refused keyProof.",
1717 "name": "InvalidRequest"
1818 },
1919 {
2020 "description": "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.",
2121 "name": "Unavailable"
2222 },
2323 {
2424 "description": "No such instance, or it is not the caller's. The two are indistinguishable.",
2525 "name": "NotFound"
2626 },
2727 {
2828 "description": "Passed through from the provisioner: the instance's HappyView release predates tickets.",
2929 "name": "UnsupportedRelease"
3030 },
3131 {
3232 "description": "Passed through from the provisioner: tickets are not turned on.",
3333 "name": "TicketsDisabled"
3434 },
3535 {
3636 "description": "The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.",
3737 "name": "Upstream"
3838 }
3939 ],
4040 "input": {
4141 "encoding": "application/json",
4242 "schema": {
4343 "properties": {
4444 "instance": {
4545 "description": "The instance's UUID.",
4646 "type": "string"
47 },
48 "keyProof": {
49 "description": "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`.",
50 "type": "string"
4751 }
4852 },
4953 "required": [
50 "instance"
54 "instance",
55 "keyProof"
5156 ],
5257 "type": "object"
5358 }
5459 },
5560 "output": {
5661 "encoding": "application/json",
5762 "schema": {
5863 "properties": {
5964 "audience": {
6065 "description": "The instance the ticket names, as hpy:instance:<uuid>.",
6166 "type": "string"
6267 },
6368 "expiresAt": {
6469 "description": "When the ticket expires, in Unix seconds.",
6570 "type": "integer"
6671 },
6772 "ticket": {
6873 "description": "The ticket, a compact JWS.",
6974 "type": "string"
7075 },
7176 "url": {
7277 "description": "The instance's public URL, which the request proofs name.",
7378 "type": "string"
7479 }
7580 },
7681 "required": [
7782 "ticket",
7883 "expiresAt",
7984 "audience",
8085 "url"
8186 ],
8287 "type": "object"
8388 }
8489 },
8590 "type": "procedure"
8691 }
8792 },
8893 "id": "at.happyproto.server.getManagementTicket",
8994 "lexicon": 1
9095}

Compare other versions