{"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299388341", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299388341, "node_id": "IC_kwDOBm6k_c5Ncxe1", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T00:24:28Z", "updated_at": "2022-11-02T00:25:00Z", "author_association": "OWNER", "body": "I want JSON syntax highlighting.\r\n\r\nhttps://github.com/luyilin/json-format-highlight is an MIT licensed tiny highlighter that looks decent for this.\r\n\r\nhttps://unpkg.com/json-format-highlight@1.0.1/dist/json-format-highlight.js", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299597066", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299597066, "node_id": "IC_kwDOBm6k_c5NdkcK", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T05:32:22Z", "updated_at": "2022-11-02T05:32:22Z", "author_association": "OWNER", "body": "Demo of the latest API explorer:\r\n\r\n![explorer](https://user-images.githubusercontent.com/9599/199406184-1292df42-25ea-4daf-8b54-ca26170ec1ea.gif)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299598570", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299598570, "node_id": "IC_kwDOBm6k_c5Ndkzq", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T05:34:28Z", "updated_at": "2022-11-02T05:34:28Z", "author_association": "OWNER", "body": "This is pretty useful now. Two features I still want to add:\r\n\r\n- The ability to link to the API explorer such that the form is pre-filled with material from the URL. Need to guard against clickjacking first though, so no-one can link to it in an invisible iframe and trick the user into hitting POST.\r\n- Some kind of list of endpoints so people can click links to start using the API explorer. A list of every table the user can write to with each of their `/db/table/-/insert` endpoints for example.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299599461", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299599461, "node_id": "IC_kwDOBm6k_c5NdlBl", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T05:35:36Z", "updated_at": "2022-11-02T05:36:15Z", "author_association": "OWNER", "body": "Here's a slightly wild idea: what if there was a button on `/-/api` that you could click to turn on \"API explorer mode\" for the rest of the Datasette interface - which sets a cookie, and that cookie means you then see \"API explorer\" links in all sorts of other relevant places in the Datasette UI (maybe tucked away in cog menus).\r\n\r\nOnly reason I don't want to show these to everyone is that I don't think this is a very user-friendly feature: if you don't know what an API is I don't want to expose you to it unnecessarily.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299600257", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299600257, "node_id": "IC_kwDOBm6k_c5NdlOB", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T05:36:40Z", "updated_at": "2022-11-02T05:36:40Z", "author_association": "OWNER", "body": "The API Explorer should definitely link to the `/-/create-token` page for users who have permission though.\r\n\r\nAnd it should probably go in the Datasette application menu?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1871#issuecomment-1299607082", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1871", "id": 1299607082, "node_id": "IC_kwDOBm6k_c5Ndm4q", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-02T05:45:31Z", "updated_at": "2022-11-02T05:45:31Z", "author_association": "OWNER", "body": "I'm going to add a link to the Datasette API docs for the current running version of Datasette, e.g. to https://docs.datasette.io/en/0.63/json_api.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1427293909, "label": "API explorer tool"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1880#issuecomment-1301043042", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1880", "id": 1301043042, "node_id": "IC_kwDOBm6k_c5NjFdi", "user": {"value": 525934, "label": "amitkoth"}, "created_at": "2022-11-02T18:20:14Z", "updated_at": "2022-11-02T18:20:14Z", "author_association": "NONE", "body": "Follow on question - is all memory use @simonw - for both datasette and SQLlite confined to the \"query time\" itself i.e. the memory use is relevant only to a particular transaction or query - and then subsequently released?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1433576351, "label": "Datasette with many and large databases > Memory use"}, "performed_via_github_app": null}