Documents
Read an in-house Space document as blocks with ids, hashes and its revision: an outline, one table or list, a search, the changes since a revision, or a past revision
GET
/v1/space/documents/{document_id}/view
curl -X GET "https://api.orchestor.io/v1/space/documents/%3Cdocument_id%3E/view" \ -H "Authorization: Bearer $API_KEY" \ -H "X-Workspace-ID: wks_abc123"{ "data": { "latest": 0, "rev": 0, "xml": "<string>" }}Get your Orchestor API key
Create an API key in your workspace settings.
Authorizations
Authentication details
cookie
Query Parameters
Only the blocks changed since this revision; unchanged runs as <gap/>, deleted blocks as <gone/>.
- Value range
- ≥ 0
Headers
Workspace to access. With a workspace-scoped API key, the server derives this value from the key, so the header is optional. If supplied, it must match the credential workspace or the request returns 403 workspace_mismatch. For interactive session requests, supply this header to select a workspace where you are a member. A project ID cannot be used as a workspace ID.
Example
"wks_abc123"Response
application/json