FileContent
A json-friendly representation of a file's type, length, and content.
fileContent Object
Represents properties of a file and its content.
details
Property | Data Type (length) |
Description |
---|---|---|
content |
string (base64-encoded) | base64-encoded representation of the raw bytes of the file. Is a continuous single line of bytes; does not contain any line breaks. |
contentType |
string (100) | The MIME type of content in the file. e.g.: application/pdf |
contentLength |
long integer (64-bit integer) | The number of the bytes represented in the content property after it has been base64-decoded. i.e. contentLength = len(base64.decode(content)) |