items

Get Archive Tree

One level of the company's browsable archive (the Documents → Archive page).

The tree is the DB record of what the archiver filed (Item.archived_path) — folders = the distinct next path segments under path (with counts), files = the archived items directly in path (enriched like GET /items rows; paginated by limit/offset). path is the opaque drill-down token from a previous response's folders[].path ('' = root). Scoped to the caller's membership in company_id (A1).

A folder that exists in more than one storage connection is NOT merged: the response comes back with folder_kind == "storage_connection", no files, and one folder per connection to continue in (ZET-188). That is a normal 200 — the level has a listing, it is just a choice of drives rather than a choice of sub-folders.

get/items/archive/tree

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/items/archive/tree
  • Auth: none declared

Query parameters

company_idstring required
pathstring
limitinteger
offsetinteger

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Response

Successful Response

total_filesinteger required
folder_kind'path' | 'storage_connection'

Changes

No recorded changes to this operation across all 1 revision of this API.