mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New _shape= parameter replacing old .jsono extension
Now instead of this:
/database/table.jsono
We use the _shape parameter like this:
/database/table.json?_shape=objects
Also introduced a new _shape called 'object' which looks like this:
/database/table.json?_shape=object
Returning an object for the rows key:
...
"rows": {
"pk1": {
...
},
"pk2": {
...
}
}
Refs #122
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| auto-build.sh | ||
| changelog.rst | ||
| conf.py | ||
| custom_templates.rst | ||
| getting_started.rst | ||
| index.rst | ||
| json_api.rst | ||
| Makefile | ||
| metadata.rst | ||
| sql_queries.rst | ||