PUT
/api/v1/workspaces/{workspace_id}/favoritesStar or unstar
kind is doc (a page, document or file; ref is its slug), team or project (ref is its id). on: false removes it. Returns the updated list. Up to 50 per workspace.
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
kind"doc" | "project" | "team"RequiredrefstringRequired1–80 characters.
onbooleanDefault
true.
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.