Get document as byte array / byte stream / base64 etc... VIA REST API from Content Server

Options

Hi,

I want to get a document from Content Server in a bytes format.

The only format that I found is by getting it's content and it seems to be unclear if I can somehow encode it or transform it to a byte array.

Whenever I make this GET call :

api/v1/nodes/{id}/content

I get a preview of a file, it's content, as it suppose to be I guess. But I don't see any way to work with it.

Is this the only call that I can use? Am I missing something?

Comments