home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 677250834

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
677250834 MDU6SXNzdWU2NzcyNTA4MzQ= 926 datasette fixtures.db --get "/fixtures.json" 9599 closed 0     2 2020-08-11T22:55:36Z 2020-08-12T00:26:17Z 2020-08-12T00:24:42Z OWNER  

I can expose ALL of Datasette's functionality on the command-line (without even running a web server) by adding --get and --post options to datasette serve.

datasette fixtures.db --get "/fixtures.json"

This would instantiate the Datasette ASGI app, run a fake request for /fixtures.json through it, dump the results out to standard output and quit.

A --post option could do the same for a POST request. Treating that as a stretch goal for the moment.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/926/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 1.062ms · About: github-to-sqlite