Documents
Get the file
GET
Downloads the file OpenReader reads from. In presigned mode the response redirects to a short-lived storage URL.
header
AuthorizationBearer <token>Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.
Scope: documents:read
id*stringMatch
^[a-f0-9]{64}$File bytes in proxy mode, always sent as an attachment.
response?file*/*Format
binarycurl -X GET 'https://reader.example/api/v1/documents/string/file'Example Response
"string"