datasette/docs
Simon Willison 0abd3abacb
New ?_shape=objects/object/lists param for JSON API (#192)
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
2018-04-03 07:52:54 -07:00
..
.gitignore Added initial docs, including a changelog 2017-11-16 07:11:00 -08:00
Makefile Added initial docs, including a changelog 2017-11-16 07:11:00 -08:00
auto-build.sh Added --load-extension argument to datasette serve 2017-11-16 08:48:49 -08:00
changelog.rst Release notes for 0.14 2017-12-09 17:26:32 -08:00
conf.py Switch to sphinx_rtd_theme 2017-11-30 08:56:20 -08:00
custom_templates.rst HTML comment showing which templates were considered for a page 2017-12-09 13:47:32 -08:00
getting_started.rst New ?_shape=objects/object/lists param for JSON API (#192) 2018-04-03 07:52:54 -07:00
index.rst Database/Table views inherit source/license/source_url/license_url metadata 2018-03-27 09:18:32 -07:00
json_api.rst New ?_shape=objects/object/lists param for JSON API (#192) 2018-04-03 07:52:54 -07:00
metadata.rst Documentation for metadata.json and "datasette skeleton" command 2017-12-07 09:19:35 -08:00
sql_queries.rst Initial documentation for pagination 2018-01-09 20:47:03 -08:00