Workspace

Comments

Tools for comment threads: list them with their anchors, comment, reply and resolve.

list_comments

Comment threads people left in a space (or one item), newest activity first. Each has an anchor (a sheet cell, range or object such as a chart; quoted text; a figure in a document (picture, chart, diagram, shape) with its index now, null when it is gone; a PDF page; a slide; a design element; a place on a map or a weather map; an option or one value in a comparison; a tile on a dashboard; a question on a form; a node in a diagram or an element of a whiteboard (ids when several); an entry on a timeline; a record in a database; a block on a wiki page) and the full conversation. Open threads only unless include_resolved.

Parameters

space_idstringrequired
item_idstring
include_resolvedboolean

comment

Start a comment thread. On a spreadsheet give cell — a cell "B4" or a range "B4:D9" — or object_id (a chart, picture or shape: the id sheet_inspect_workbook lists), and tab (default: the first); on a document give quote — exact text from one paragraph to attach it to — or figure (a picture, chart, diagram, shape or text box: its index in the figures read_doc lists); on a slide deck give slide (number) and, for one shape on it, shape (its id from read_slides), or for words on it quote (exact words from read_slides; shape optional), or for a table cell shape and table_cell ({row, column}); on a design give board (its file) and element (a CSS selector in that artboard); on a map give place (its id from read_map, or its number); on a weather map give place (its id from read_weather_map, or its number); on a comparison give option (its id from read_compare, or its number) and, for one value, criterion (its key); on a dashboard give tile (its id from read_dashboard, or its number); on a form give question (its name, or its number); on a diagram give node (its id, or its number); on a timeline give entry (its id, or its number); on a database give record (its id from list_records); on a product catalog give product (its id from read_catalog, or its number); on a Kanban board give card (its key from read_kanban); on a calendar give event (its id from read_calendar); on an invoice give clause (a price line, by its id from read_invoice); on a wiki page give block (its id from read_wiki); on media give at (a moment of a video or a sound: seconds or "1:23") or, on a picture, spot ({x, y} from 0 to 1); on a 3D scene give scene_object (its id from read_scene) and, for a spot on it, point ([x, y, z] in its own coordinates); on a poll give option (its id from read_poll, or its number); on code or a page give file (its path) and lines ({from, to}, from 1: the numbers read_code / read_page show with numbered: true), or on a page or a report element (a CSS selector) for a part of it; on a PDF give quote — exact words from read_pdf, highlighted on the page (page is found when left out) — or page alone for the whole page.

Parameters

item_idstringrequired
textstringrequired
cellstring
Spreadsheet: a cell ("B4") or a range ("B4:D9").
object_idinteger
Spreadsheet: a chart, picture or shape, by the id sheet_inspect_workbook lists.
tabstring
quotestring
figureinteger
Document: a picture, chart, diagram, shape or text box, by its index in the figures read_doc lists.
pageinteger
slideinteger
shapeinteger
Slide deck: with slide, one shape on it, by its id from read_slides.
table_cellobject
Slide deck: with shape (a table), one cell of it (1 = first row or column).
Show child attributes
rowintegerrequired
columnintegerrequired
boardstring
elementstring
Design: with board, a CSS selector in it. Page or report: a CSS selector for a part of it ("body" for all of it). Whiteboard: an element, by its id from read_whiteboard.
placestring | integer
Map or weather map: a place, by its id from read_map or read_weather_map, or its number (1 = first).
tickerstring | integer
Stock chart: a ticker, by its id or symbol from read_stock_chart, or its number (1 = first).
optionstring | integer
Comparison or poll: an option, by its id from read_compare or read_poll, or its number (1 = first).
criterionstring
Comparison: with option, one value — the criterion key.
tilestring | integer
Dashboard: a tile, by its id from read_dashboard or its number (1 = first).
recordstring
Database: a record, by its id from list_records.
productstring | integer
Product catalog: a product, by its id from read_catalog or its number (1 = first).
cardstring
Kanban board: a card, by its key from read_kanban.
eventstring
Calendar: an event, by its id from read_calendar.
clausestring
Invoice: a price line, by its id from read_invoice.
blockstring
Wiki page: a block, by its id from read_wiki.
atnumber | string
Media (a video or a sound): the moment, in seconds (83) or "1:23".
spotobject
Media (a picture): where on it, from its top left, 0 to 1 across and down.
Show child attributes
xnumberrequired
ynumberrequired
scene_objectstring
3D scene: an object, by its id from read_scene.
pointany[]
3D scene: with scene_object, the point on it the pin goes at, [x, y, z] in the object's own coordinates (its center is [0, 0, 0]; the top of a box 1 high is [0, 0.5, 0]). Left out, the pin is on the object as a whole.
questionstring | integer
Form: a question, by its name or its number (1 = first).
nodestring | integer
Diagram: a node, by its id or its number (1 = first).
entrystring | integer
Timeline: an entry, by its id or its number (1 = first).
filestring
Code or page: the file, by its path.
linesobject
Code or page: with file, the lines (from 1; to defaults to from).
Show child attributes
fromintegerrequired
tointeger

reply_comment

Reply in a comment thread, e.g. to say what you changed. Set resolve to close the thread at the same time.

Parameters

thread_idstringrequired
textstringrequired
resolveboolean

resolve_comment

Mark a comment thread resolved (or reopen it with resolved=false).

Parameters

thread_idstringrequired
resolvedboolean