Skip to content
Developer Preview

item/readOutput

Byte-ranged read of stored full output the view truncated; works on loaded and unloaded sessions and takes no lease.

Type: ItemReadOutputParams

item/readOutput params: byte-ranged fetch of stored full output that the view truncated — the outputRef fetch path and owe. Read-only; works on loaded and unloaded sessions; no lease.

Field Type Stability Presence Description
itemId string required The item whose stored output is fetched.
lengthBytes integer optional STORED bytes requested; default and max 6 MiB. A value above the max is served at the max.
offsetBytes integer optional STORED-byte offset to start from; 0 when omitted. STORED bytes are a property of the output, not of a transport.
outputRef string required The outputRef.id from the item (never the uri; the uri is display/provenance).
sessionId string required The session the item belongs to.
Source

schema/msp/experimental/msp.schema.json#/methods/item~2FreadOutput

{
"description": "Byte-ranged read of stored full output the view truncated; works on loaded and unloaded sessions and takes no lease.",
"params": {
"$ref": "#/$defs/ItemReadOutputParams"
},
"result": {
"$ref": "#/$defs/ItemReadOutputResult"
}
}