/api/v1/workspaces/{workspace_id}/dashboard-defaultSet the workspace's default Home
Workspace owners and admins: the Home members see until they customize their own (main and side, or a preset, whose team and page are filled in for each member). A widget a member can't use isn't shown to them.
Path parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.
Request body
#application/json, required
mainarray of objectUp to 16 items.
3 fields inside
idstringKept when it's a short id; new widgets get one. Up to 12 characters.
typestringRequiredOne of the catalog's types (GET returns the catalog). Up to 40 characters.
settingsobjectThe type's settings: team, folder, page, count, category, status, range.
sidearray of objectUp to 16 items.
3 fields inside
idstringKept when it's a short id; new widgets get one. Up to 12 characters.
typestringRequiredOne of the catalog's types (GET returns the catalog). Up to 40 characters.
settingsobjectThe type's settings: team, folder, page, count, category, status, range.
presetstringUp to 20 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.