File Content

A json-friendly representation of a file's type, length, and content.

fileContent Object

Property

Data type (length)

Description

content

string

base64-encoded representation of the raw bytes of the file. Is a continuous single line of bytes; does not contain any line breaks.

contentLength

long integer (64-bit integer)

The number of the bytes represented in the content property after it has been base64-decoded.

contentType

string

The MIME type of content in the file. e.g., application/pdf