{"ok": true, "next": null, "next_url": null, "rows": [{"id": "json_api:rowupdateview", "page": "json_api", "ref": "rowupdateview", "title": "Updating a row", "content": "To update a row, make a  POST  to  /<database>/<table>/<row-pks>/-/update . This requires the  update-row  permission. \n                 POST /<database>/<table>/<row-pks>/-/update\nContent-Type: application/json\nAuthorization: Bearer dstok_<rest-of-token> \n                 {\n    \"update\": {\n        \"text_column\": \"New text string\",\n        \"integer_column\": 3,\n        \"float_column\": 3.14\n    }\n} \n                 <row-pks>  here is the  tilde-encoded  primary key value of the row to update - or a comma-separated list of primary key values if the table has a composite primary key. \n                 You only need to pass the columns you want to update. Any other columns will be left unchanged. \n                 Updated values can use the  binary value JSON format . \n                 If successful, this will return a  200  status code and a  {\"ok\": true}  response body. \n                 Add  \"return\": true  to the request body to return the updated row: \n                 {\n    \"update\": {\n        \"title\": \"New title\"\n    },\n    \"return\": true\n} \n                 The returned JSON will look like this: \n                 {\n    \"ok\": true,\n    \"rows\": [\n        {\n            \"id\": 1,\n            \"title\": \"New title\",\n            \"other_column\": \"Will be present here too\"\n        }\n    ]\n} \n                 Any errors will use the  standard error format , with a  400  status code for a bad input or a  403  status code for an authentication or permission error. \n                 Pass  \"alter: true  to automatically add any missing columns to the table. This requires the  alter-table  permission.", "breadcrumbs": "[\"JSON API\", \"The JSON write API\"]", "references": "[]"}], "truncated": false}