{"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-635195322", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 635195322, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNTE5NTMyMg==", "user": {"value": 2181410, "label": "clausjuhl"}, "created_at": "2020-05-28T08:23:27Z", "updated_at": "2020-05-28T08:23:27Z", "author_association": "NONE", "body": "@simonw I would prefer just the 7 character hash. No need to make the urls any longer than they need to be :)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-635102675", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 635102675, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNTEwMjY3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-28T05:04:07Z", "updated_at": "2020-05-28T05:04:07Z", "author_association": "OWNER", "body": "@clausjuhl do you have any thoughts on what would be most useful for you in these JSON responses? The full `/databasename-hash` path, just the 7 character hash, or something else?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-634951605", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 634951605, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNDk1MTYwNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-27T21:29:19Z", "updated_at": "2020-05-27T21:29:19Z", "author_association": "OWNER", "body": "But... https://datasette-hash-urls-j7hipcg4aq-uw.a.run.app/fixtures-bda7daa.json doesn't expose that hash:\r\n```\r\n{\r\n \"database\": \"fixtures\",\r\n \"size\": 258048,\r\n \"tables\": [\r\n {\r\n \"name\": \"123_starts_with_digits\",\r\n```\r\nLikewise https://datasette-hash-urls-j7hipcg4aq-uw.a.run.app/fixtures-bda7daa/complex_foreign_keys.json\r\n```\r\n{\r\n \"database\": \"fixtures\",\r\n \"table\": \"complex_foreign_keys\",\r\n \"is_view\": false,\r\n \"human_description_en\": \"\",\r\n \"rows\": [\r\n [\r\n \"1\",\r\n \"1\",\r\n \"2\",\r\n \"1\"\r\n ]\r\n ],\r\n```\r\nAnd https://datasette-hash-urls-j7hipcg4aq-uw.a.run.app/fixtures-bda7daa/complex_foreign_keys/1.json\r\n```\r\n{\r\n \"database\": \"fixtures\",\r\n \"table\": \"complex_foreign_keys\",\r\n \"rows\": [\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-634950200", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 634950200, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNDk1MDIwMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-27T21:26:37Z", "updated_at": "2020-05-27T21:26:37Z", "author_association": "OWNER", "body": "https://latest.datasette.io/.json currently returns:\r\n\r\n```\r\n{\r\n \"fixtures\": {\r\n \"name\": \"fixtures\",\r\n \"hash\": \"87b3f2c55dfb81ff1452dd306c2623fa5550b90982cfa32bad404c4d8bbedde2\",\r\n \"color\": \"87b3f2\",\r\n \"path\": \"/fixtures\",\r\n \"tables_and_views_truncated\": [\r\n```\r\n\r\nI published `fixtures.db` here like this:\r\n\r\n datasette publish cloudrun fixtures.db --service datasette-hash-urls --extra-options '--config hash_urls:1'\r\n\r\nhttps://datasette-hash-urls-j7hipcg4aq-uw.a.run.app/.json\r\n```\r\n{\r\n \"fixtures\": {\r\n \"name\": \"fixtures\",\r\n \"hash\": \"bda7daa889c23f9a8f06e46d7d280dd423c76275e9593c4c1cad7c53b19032fe\",\r\n \"color\": \"bda7da\",\r\n \"path\": \"/fixtures-bda7daa\",\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-624797119", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 624797119, "node_id": "MDEyOklzc3VlQ29tbWVudDYyNDc5NzExOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-06T17:53:46Z", "updated_at": "2020-05-06T17:53:46Z", "author_association": "OWNER", "body": "It's interesting to hear from someone who's using this feature - I'm considering moving it out into a plugin #647.", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/758#issuecomment-624796685", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/758", "id": 624796685, "node_id": "MDEyOklzc3VlQ29tbWVudDYyNDc5NjY4NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-06T17:52:54Z", "updated_at": "2020-05-06T17:52:54Z", "author_association": "OWNER", "body": "Thanks for the suggestion! I'll add this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612382643, "label": "Question: Access to immutable database-path"}, "performed_via_github_app": null}