home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1368269732

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/782#issuecomment-1368269732 https://api.github.com/repos/simonw/datasette/issues/782 1368269732 IC_kwDOBm6k_c5RjiOk 9599 2022-12-31T19:32:33Z 2023-01-17T02:05:45Z OWNER

New thinking on the trimmed-down default. Previously I was going to use "row" and "next_url" - I now want to do this instead: json { "ok": true, "rows": [ { "pk1": "a", "pk2": "a", "pk3": "a", "content": "a-a-a" }, { "pk1": "a", "pk2": "a", "pk3": "b", "content": "a-a-b" } ], "next": "a,a,b" } If there isn't a next page it will return "next": null.

This is even more succinct. I'm OK with people having to request next_url if they don't want to construct the new URL themselves.

The "ok": true is there so it can be false for errors, consistently.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
627794879  
Powered by Datasette · Queries took 0.593ms · About: github-to-sqlite