/api/v1/workspaces/{workspace_id}/itemsList 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.
Path parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.
Query parameters
#folderstringUp to 64 characters. Default
"all".qstringUp to 200 characters.
kindstringOne of
markdown,document,artifact. One ofmarkdown,document,artifact.typestringOnly one file type:
document(Markdown documents and pages),pdf,video,image,sheet(Excel, CSV),slides(PowerPoint),word,html(HTML pages and zipped sites) orother. Admins' placeholders for private items are left out. One ofdocument,pdf,video,image,sheet,slides,word,html,other. One ofdocument,pdf,video,image,sheet,slides,word,html,other.cursorstringUp to 200 characters.
limitintegerHow many to return. From 1 to 100. Default
50.spacestringall (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.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.