Outline Wiki icon

Outline Wiki

Interact with the Outline Wiki API — documents, collections, comments, attachments, users, shares

Collection → Get Document Tree

AI-generated

Summary

Retrieve the hierarchical document tree for a specified collection in the Outline Wiki.

Inputs

  • Collection ID (required) — The UUID of the collection to fetch the document hierarchy for.

Output shape

a JSON object representing the document hierarchy/tree within the specified collection

Returns a JSON response from the Outline Wiki API containing the documents organized in a tree structure for the given collection UUID.

Examples

Example 1: Get the full document tree for a collection to understand its structure.

Set resource to 'Collection', operation to 'Get Document Tree', and provide the 'Collection ID' UUID.

Links

Discussion