POST /revisions/:id/data/query (Command: download)
Request Format
The command travels as an ordinary JSON body, but two request headers are load-bearing:application/octet-stream is the only binary media type this API declares, and the gateway converts a binary
payload only for a request whose Accept names one.
Request Body
Response
The file itself, asapplication/octet-stream — there is no presigned URL to follow. The JSON envelope
travels in the X-Response-Body header instead of the body, which holds the bytes:
Access-Control-Expose-Headers names X-Response-Body, so a browser client can read it.
Example
model.onnx; the JSON above is what -D - prints as the X-Response-Body header.
