Rivier/ Reference/ files

A Word document or a spreadsheet as something to look at, without downloading it

get/assets/{id}/preview

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:read
Graphql
Query.filesAssetPreview
Sdk
files.asset.preview
Cli
files asset preview

Parameters

  • idstring (uuid)required
    In the path
  • versionstring (uuid)
    In the query

Responses

  • 200application/json
    Success
    • kindstringrequired
      One of: document, sheet.
    • htmlstring
    • clippedboolean
    • sheetslist of object
      • namestringrequired
      • rowslist of list of stringrequired
      • morebooleanrequired
    • moreSheetsboolean
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown