{"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331479606", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331479606, "node_id": "IC_kwDOBm6k_c5PXMQ2", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-30T00:09:06Z", "updated_at": "2022-11-30T00:09:06Z", "author_association": "OWNER", "body": "One last feature: I want to show an indication on the table page that the table has X seconds left to live.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331479328", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331479328, "node_id": "IC_kwDOBm6k_c5PXMMg", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-30T00:08:41Z", "updated_at": "2022-11-30T00:08:41Z", "author_association": "OWNER", "body": "Five minute has now passed and https://latest.datasette.io/ephemeral/new_table is gone.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331476246", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331476246, "node_id": "IC_kwDOBm6k_c5PXLcW", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-30T00:04:35Z", "updated_at": "2022-11-30T00:08:24Z", "author_association": "OWNER", "body": "The new https://github.com/simonw/datasette-ephemeral-tables plugin is live now: https://latest.datasette.io/ephemeral - you have to navigate through https://latest.datasette.io/login-as-root first\r\n\r\nIt work! I created a table using https://latest.datasette.io/-/api#path=%2Fephemeral%2F-%2Fcreate&json=%7B%0A++%22table%22%3A+%22new_table%22%2C%0A++%22columns%22%3A+%5B%0A++++%7B%0A++++++%22name%22%3A+%22id%22%2C%0A++++++%22type%22%3A+%22integer%22%0A++++%7D%2C%0A++++%7B%0A++++++%22name%22%3A+%22name%22%2C%0A++++++%22type%22%3A+%22text%22%0A++++%7D%0A++%5D%2C%0A++%22pk%22%3A+%22id%22%0A%7D&method=POST\r\n\r\nThe table should vanish in a few minutes.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331478611", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331478611, "node_id": "IC_kwDOBm6k_c5PXMBT", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-30T00:07:37Z", "updated_at": "2022-11-30T00:07:37Z", "author_association": "OWNER", "body": "Then I created an API token at https://latest.datasette.io/-/create-token and ran this:\r\n\r\n```\r\ncurl -XPOST 'https://latest.datasette.io/ephemeral/new_table/-/insert' \\\r\n -H 'Authorization: Bearer xxx' \\\r\n -H 'Content-Type: application/json' \\\r\n -d '{\"row\": {\"name\": \"NAME\"}}'\r\n```\r\nAnd it inserted a row into https://latest.datasette.io/ephemeral/new_table", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331432223", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331432223, "node_id": "IC_kwDOBm6k_c5PXAsf", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-29T23:06:17Z", "updated_at": "2022-11-29T23:06:17Z", "author_association": "OWNER", "body": "To (slightly) discourage abuse I'm going to make the demo database only visible to the root user - so people can't create tables with rude names and have them show to the public on https://latest.datasette.io/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1915#issuecomment-1331331082", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1915", "id": 1331331082, "node_id": "IC_kwDOBm6k_c5PWoAK", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-11-29T21:24:59Z", "updated_at": "2022-11-29T21:34:53Z", "author_association": "OWNER", "body": "Maybe a plugin called `datasette-temporary-tables` or `datasette-demo-tables` or `datasette-demo-database`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1468709531, "label": "Interactive demo of Datasette 1.0 write APIs"}, "performed_via_github_app": null}