Stream file inline for browser preview

Streams the file inline for browser preview. Add base64=true to receive the content as a base64-encoded JSON string instead of raw bytes.

Path Parameters
  • fileId
    Type: integer
    required

    ID of file

Query Parameters
  • show
    Type: boolean

    Set to true to stream the file inline

  • base64
    Type: boolean

    Set to true to receive file content as a base64-encoded JSON string instead of raw bytes

Responses
  • 200

    File contents

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/file/{fileId}/show
curl https://test.boost.space/api/file/1/show \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body