cURL
curl --request GET \ --url https://api.aryn.cloud/v1/storage/docsets/{docset_id}/docs/{doc_id}/binary \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Get binary original source file with range request support.
Args: docset_id: The ID of the DocSet doc_id: The ID of the document
Returns: the content
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Was this page helpful?