Read a file's raw contents. Use this for direct data download.
Show a file's contents based on its storageid (sid), convert to text where necessary.
get/file/view
Query parameters
finteger
format option:
- 0: textview of content
- 1: hex view of content
- 2: auto detect hex view or text view
- 3: picture view
- 4: not supported
- 5: html inline view (sanitized)
- 6: text view of pdf
- 7: text view of html
- 8: text view of word file
storageidstring required
Either the storage identifier or system identifier has to be specified.
bucketstring
- Specify the bucket to search
- See list of buckets https://blog.intelx.io/2022/05/05/list-of-buckets/
escape0 | 1
0 = don't escape, 1 = default behavior
For text the default behavior (unless overwritten by &escape=0) is to escape HTML characters for safe placement of the text in HTML.
Response
Data as payload according to the type