home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 391754506

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/283#issuecomment-391754506 https://api.github.com/repos/simonw/datasette/issues/283 391754506 MDEyOklzc3VlQ29tbWVudDM5MTc1NDUwNg== 9599 2018-05-24T15:21:37Z 2018-05-24T15:21:53Z OWNER

Giving it /all/ would be easier since that way the existing URL routes (including canned queries) would all work... but I would have to teach it NOT to expect a database content hash on that URL.

Or maybe it should still have a content hash (to enable far-future cache expiry headers on query results) but the hash should be constructed out of all of the other database hashes concatenated together.

That way the URLs would be /all-5de27e3 and /all-5de27e3/canned-query-name

Only downside: this would make it impossible to have a database file with the name all.db. I think that's probably an OK trade-off. You could turn the feature off with a config flag if you really want to use that filename (for whatever reason).

How about /-all-5de27e3/ instead to avoid collisions?

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