home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1384741055

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/262#issuecomment-1384741055 https://api.github.com/repos/simonw/datasette/issues/262 1384741055 IC_kwDOBm6k_c5SiXi_ 9599 2023-01-17T01:58:24Z 2023-01-17T01:58:24Z OWNER

As suggested in this issue: - #1721

There are three parts of the Datasette API that need to support extras:

  • Table, e.g. https://latest.datasette.io/fixtures/facetable.json
  • Row, e.g. https://latest.datasette.io/fixtures/facetable/1.json
  • Query, e.g. https://latest.datasette.io/fixtures/neighborhood_search.json or https://latest.datasette.io/fixtures.json?sql=%0Aselect+_neighborhood%2C+facet_cities.name%2C+state%0Afrom+facetable%0A++++join+facet_cities%0A++++++++on+facetable._city_id+%3D+facet_cities.id%0Awhere+_neighborhood+like+%27%25%27+||+%3Atext+||+%27%25%27%0Aorder+by+_neighborhood%3B%0A&text=

There are two other pages I should consider though:

  • https://latest.datasette.io/.json - the JSON version of the https://latest.datasette.io/ homepage
  • https://latest.datasette.io/fixtures.json - note that this is different from the same URL with ?sql=... appended to it. This is the index of tables in a specific database
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
323658641  
Powered by Datasette · Queries took 0.86ms · About: github-to-sqlite