The root URL lists all available databases. The following examples assume that
you have created a database instance from the <b>[http://files.basex.org/xml/factbook.xml factbook.xml]</b> document:
:<code>[http://admin:admin@localhost:8984/rest http://admin:admin@localhost:8984/rest]</code>
The resources of a database can be listed by specifying the database, and potential sub directories, in the URL.
In the given example, a single document is stored in the <b>''factbook</b> '' database:
:<code>[http://admin:admin@localhost:8984/rest/factbook http://admin:admin@localhost:8984/rest/factbook]</code>