mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New introspection endpoint: /-/databases - closes #470
Refs #419 and #465
This commit is contained in:
parent
21b57cdf9a
commit
0dad111d24
4 changed files with 57 additions and 0 deletions
|
|
@ -89,3 +89,19 @@ Shows the :ref:`config` options for this instance of Datasette. `Config example
|
|||
"max_returned_rows": 1000,
|
||||
"sql_time_limit_ms": 1000
|
||||
}
|
||||
|
||||
/-/databases
|
||||
------------
|
||||
|
||||
Shows currently attached databases. `Databases example <https://latest.datasette.io/-/config>`_::
|
||||
|
||||
[
|
||||
{
|
||||
"hash": null,
|
||||
"is_memory": false,
|
||||
"is_mutable": true,
|
||||
"name": "fixtures",
|
||||
"path": "fixtures.db",
|
||||
"size": 225280
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue