GET/api/v1/workspaces/{workspace_id}/items

List workspace items

The documents and folders in a workspace that you can see. The first page also has count_by_type: how many items of each file type you can open in the folder (or, with q, the workspace), whatever the filters.

API token required120 per minute per IP
Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

Query parameters

#
  • folderstring

    Up to 64 characters. Default "all".

  • qstring

    Up to 200 characters.

  • kindstring

    One of markdown, document, artifact. One of markdown, document, artifact.

  • typestring

    Only one file type: document (Markdown documents and pages), pdf, video, image, sheet (Excel, CSV), slides (PowerPoint), word, html (HTML pages and zipped sites) or other. Admins' placeholders for private items are left out. One of document, pdf, video, image, sheet, slides, word, html, other. One of document, pdf, video, image, sheet, slides, word, html, other.

  • cursorstring

    Up to 200 characters.

  • limitinteger

    How many to return. From 1 to 100. Default 50.

  • spacestring

    all (default) | company | team:<id> | project:<id> (Teams) Up to 40 characters.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?