Read a file
Returns the bytes of the file at path under the sandbox root, exactly, as application/octet-stream with its content-length. A file may be up to 2 GiB. One over 4 MiB is copied into a hidden .offstage-download-… folder at the sandbox root in 4 MiB parts when the read starts, so the answer is the file as it was then; its bytes stream as the Mac sends the parts, and the folder is removed when the read ends. If the sandbox closes partway, the connection closes before content-length bytes have arrived.
Authorizations
Query Parameters
Relative to the sandbox root (/Users/<slot>/offstage-sandbox/<sandbox id>): letters, digits, ., _, - and /, no .. segment, no leading / or ~, at most 1024 characters. . segments and repeated slashes are normalized away.
1 - 1024^(?!/)(?!(.*/)?\.\.(/|$))[A-Za-z0-9._/-]+$Response
The file's bytes.
The response is of type file.