Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-database and per-table /-/ URL namespace #296

Open
simonw opened this issue May 29, 2018 · 3 comments
Open

Per-database and per-table /-/ URL namespace #296

simonw opened this issue May 29, 2018 · 3 comments
Labels

Comments

@simonw
Copy link
Owner

simonw commented May 29, 2018

Initially this will be for subsets of /-/inspect and /-/metadata but it will also give us a URL namespace for future features like /-/facet (expanded list of a specific facet, linked to from ...) and /-/graph

To start:

  • /dbname/-/inspect
  • /dbname/-/metadata
  • /dbname/tablename/-/inspect
  • /dbname/tablename/-/metadata

This means we will no longer allow databases or tables to have the name "-" - I think that's OK

We will continue to support rows with a primary key of "-" at the following URL:

  • /dbname/tablename/-
@simonw
Copy link
Owner Author

simonw commented May 29, 2018

Since #275 will allow configs to be overridden at the table and database level it also makes sense to expose a completely evaluated list of configs at:

  • /dbname/-/config
  • /dbname/tablename/-/config

Similar to https://fivethirtyeight.datasettes.com/-/config

@simonw
Copy link
Owner Author

simonw commented May 29, 2018

Should the tablename ones also work for views and canned queries? Probably not.

@simonw simonw added the feature label Jun 21, 2018
@simonw simonw added this to the Next release milestone Jul 24, 2018
@simonw simonw removed this from the Next release milestone May 13, 2019
@simonw
Copy link
Owner Author

simonw commented Jun 28, 2019

The first of these will be built in #531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant