home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1116178727

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/1739#issuecomment-1116178727 https://api.github.com/repos/simonw/datasette/issues/1739 1116178727 IC_kwDOBm6k_c5Ch4kn 9599 2022-05-03T14:38:46Z 2022-05-03T14:38:46Z OWNER

Reminded myself how this works by reviewing conditional-get: https://github.com/simonw/conditional-get/blob/db6dfec0a296080aaf68fcd80e55fb3f0714e738/conditional_get/cli.py#L33-L52

Simply add a If-None-Match: last-known-etag header to the request and check that the response is a status 304 with an empty body.

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