home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1315808062

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1863#issuecomment-1315808062 https://api.github.com/repos/simonw/datasette/issues/1863 1315808062 IC_kwDOBm6k_c5ObaM- 9599 2022-11-15T20:08:04Z 2022-11-15T20:08:04Z OWNER The initial design I'm going to implement will look like this: ``` POST /db/table/1/-/update Authorization: Bearer xxx Content-Type: application/json ``` ```json { "update": { "name": "New name" } } ``` Any fields that are not yet columns will return an error. Should it enforce types, in as much as an integer column should have a JSON integer passed to it, or should it allow strings containing valid integers? I'm going to allow strings, mainly as a workaround for the fact that JavaScript integers have a maximum size. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1425029242  
Powered by Datasette · Queries took 2.281ms