Basic Information

appmixer.ragieai.core.GetDocumentContent

1.0.0

Public

Get the content of a document. The mediaType parameter can be used to request the content in a different format. When requesting as application/json, additional metadata about the document will be included. If the original document contained content such as images or other non-textual media, this response will include a text description of that media instead of the original file data. Using mime types such as audio/mpeg or video/mp4 will stream the file in a format that can be provided to an audio/video player.

Input Ports

in

FieldTypeDescription
Document Id text The id of the document.
Media Type select The desired media type of the content to return described as a mime type. An error will be returned if the requested media type is not supported for the document's type.
Download toggle Whether to return the content as a file download or a raw stream. If set to true, the content will be returned as a named file for download.

Output Ports

out

FieldTypeDescription
Status -
Id -
Created At -
Updated At -
Name -
Metadata -
Partition -
Content -
File ID -

Full Metadata