Skip to Content
Docs

Get the directory structure for a document

GET
/api/directory_structure

Get the directory structure for a document.

Personal access token scope: sources:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

id?string

The document ID

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/directory_structure'
Example Response200
Empty