Skip to content
View as Markdown

Read a hosted document: every block with its id and rev, plus its share links.

POST/v1/abilities/workspace.doc.read

Read a hosted document: every block with its id and rev, plus its share links. Read before patching — the revs you get back are what if_block_rev guards against.

Required
Yes
Content type
  • application/json
  • inputWorkspaceDocReadInputrequired
    Show 3 properties
    • idstringrequired
    • include_commentsbooleanoptional
      Default: false
    • include_historybooleanoptional
      Default: false
  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.