400 error.
POST /grid/cell
Write a single cell value in A1 notation. The value can be a plain string, a number stored as a string, or a formula starting with=. If you omit value, the cell is cleared.
Request
The target cell in A1 notation (e.g.
"B4" or "AA12"). The value is uppercased automatically.The value to write. Defaults to an empty string, which clears the cell. Formulas must start with
=.Optional
{A1: int} map for optimistic-concurrency locking. Every cell carries a version counter that bumps on each commit. If the caller supplies an expected version that doesn’t match the stored version, the endpoint returns 409 Conflict with {cell, expected, actual} instead of overwriting. Useful in shared workbooks when you want to detect that someone else edited the cell since you loaded it.Response
Errors
Example
POST /grid/range
Write a rectangular 2-D block of values starting from a top-left anchor cell. Thevalues array maps directly onto the grid: each inner array is a row, and each element within that array is a column value.
Request
The top-left anchor cell in A1 notation (e.g.
"A1"). The range expands down and to the right based on the dimensions of values.A 2-D array where each inner array represents one row. Elements can be strings, numbers, booleans, or
null. Formulas must start with =. An empty inner array writes nothing for that row.Response
Errors
Example
Rows in
values can be of different lengths. Shorter rows simply write fewer columns; they do not clear cells to the right of the last element in that row.