latestOpenAPI 3.0.1Apache 2.02026-08-133021,2261.8 MB

aaa3e1322450

Document

Retrieve tabs by document ID and workspace or version or microversion ID.

This endpoint only returns the tabs and not folders in the document. Use the getDocumentContents endpoint to get information about folders and tabs.

get/documents/d/{did}/{wvm}/{wvmid}/elements

Path parameters

didstring required

The id of the document in which to perform the operation.

wvm'w' | 'v' | 'm' required

Indicates which of workspace (w), version (v), or document microversion (m) id is specified below.

wvmidstring required

The id of the workspace, version or document microversion in which the operation should be performed.

Query parameters

linkDocumentIdstring

The id of the document through which the above document should be accessed; only applicable when accessing a version of the document. This allows a user who has access to document a to see data from document b, as long as document b has been linked to document a by a user who has permission to both.

elementTypestring
elementIdstring
withThumbnailsboolean
withZipContentsboolean

When true, returns the names of the files inside each zip file tab. Ignored if the document contains more than 10 zip files.

Response

Success!