POST /revisions/:id/data/query (Command: get_file)
This is a binary response: pass
Accept: application/octet-stream and the file’s bytes come back as the response
body, with the JSON envelope serialized into the X-Response-Body header instead of the body.
Access-Control-Expose-Headers names X-Response-Body, so a browser client can read it.Request Body
Response
The file’s bytes, asapplication/octet-stream. The JSON envelope travels in the X-Response-Body header:
Errors
Example
blob.yaml; the JSON above is what -D - prints as the X-Response-Body header.
