home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 438259941

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
438259941 MDU6SXNzdWU0MzgyNTk5NDE= 440 Plugin hook for additional data export formats 45057 closed 0     0 2019-04-29T11:01:39Z 2019-05-01T23:01:57Z 2019-05-01T23:01:57Z CONTRIBUTOR  

It would be nice to have a simple way for plugins to provide additional data export formats. Might require a bit of work on the internals. I can work around this at a lower level with the prepare_sanic hook from #437 in the mean time.

I guess plugins should be able to register a function which takes a row or list of rows and returns the rendered data. They'll also need to provide a file extension and probably a Content-Type.

Datasette could then automatically include this format in the list of export formats on each page.

Looks like this is related to #119.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/440/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

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