Get Doc
Changed onGet Doc returns information about a chosen Doc. Pass content_format=markdown (default) or content_format=html to include content in the response.
get/api/v4/{workspace-slug}/documents/{doc-public-id}
Request
- Base URLhttps://api.app.shortcut.com
- AuthHTTP bearer
Path parameters
workspace-slugstring required
The slug for the Workspace.
doc-public-idstring uuid required
The ID of the Doc.
Query parameters
content_format'markdown' | 'html'
The format to include the Doc's content in. Without it, the response has no content.
fieldsstring
Fields to include in the response, as a comma-separated string. If provided, only these fields will be included for each entity in the response. If not present, all fields will be returned.
Response
Resource
Changes
- info
added the new optional
queryrequest parametercontent_format
- info