{"html_url": "https://github.com/simonw/datasette/issues/303#issuecomment-394037368", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/303", "id": 394037368, "node_id": "MDEyOklzc3VlQ29tbWVudDM5NDAzNzM2OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-06-01T23:50:17Z", "updated_at": "2018-06-01T23:50:35Z", "author_association": "OWNER", "body": "Solution for he above: support an optional `?_format=json/csv` parameter on the regular table view. \r\n\r\nThen if you have tables with the above colliding names you can use `/db/blah.json?_format=json` ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 328172521, "label": "Support table names ending with .json or .csv"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/303#issuecomment-393600441", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/303", "id": 393600441, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzYwMDQ0MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-31T16:56:25Z", "updated_at": "2018-05-31T16:57:41Z", "author_association": "OWNER", "body": "Here's a nasty challenge: what happens if a database has the following two tables:\r\n\r\n* `blah`\r\n* `blah.json`\r\n\r\nWhat would the URL be for the JSON endpoint for the `blah` table?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 328172521, "label": "Support table names ending with .json or .csv"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/303#issuecomment-393599840", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/303", "id": 393599840, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzU5OTg0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-31T16:54:22Z", "updated_at": "2018-05-31T16:54:32Z", "author_association": "OWNER", "body": "The interesting thing about this is that it requires URL routing to become aware of the names of all of the available tables.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 328172521, "label": "Support table names ending with .json or .csv"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/303#issuecomment-393557406", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/303", "id": 393557406, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MzU1NzQwNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-31T14:54:03Z", "updated_at": "2018-05-31T14:54:03Z", "author_association": "OWNER", "body": "Our test fixtures currently have a table with a name ending in `.csv`:\r\n\r\nhttps://github.com/simonw/datasette/blob/d69ebce53385b7c6fafb85fdab3b136dbf3f332c/tests/fixtures.py#L234-L237", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 328172521, "label": "Support table names ending with .json or .csv"}, "performed_via_github_app": null}