Skip to content
Developer Preview

RequestReceipt

The presentation receipt — the client’s response to a server-initiated request (approval/request, userInput/request).

The response acknowledges presentation only (“a surface showed or will show this”): it changes no state, the server uses it for diagnostics alone, and the decision/answer travels as a command (approval/decide, userInput/answer). An error response or a dropped connection means this connection could not present the request; the approval or prompt stays pending and the request is re-issued on the next subscribe. There is no dismiss-without-deciding on the wire.

Source

schema/msp/experimental/msp.schema.json#/types/RequestReceipt

{
"description": "The presentation receipt — the client's response to a\nserver-initiated request (`approval/request`, `userInput/request`).\n\nThe response acknowledges presentation only (\"a surface showed or will\nshow this\"): it changes no state, the server uses it for diagnostics\nalone, and the decision/answer travels as a command (`approval/decide`,\n`userInput/answer`). An error response or a dropped connection means this\nconnection could not present the request; the approval or prompt stays\npending and the request is re-issued on the next subscribe.\nThere is no dismiss-without-deciding on the wire.",
"properties": {},
"type": "object"
}