1
0
Fork 0
arangodb/Documentation/Books/Users/HttpDatabase
Thomas Schmidts 7674e5eabf Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
..
DatabaseEndpoint.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
DatabaseManagement.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
ManagingDatabasesUsingHttp.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
NotesOnDatabases.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
README.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00

README.mdpp

!CHAPTER HTTP Interface for Databases

!SUBSECTION Address of a Database

Any operation triggered via ArangoDB's HTTP REST API is executed in the context of exactly
one database. To explicitly specify the database in a request, the request URI must contain
the database name in front of the actual path:

    http://localhost:8529/_db/mydb/...

where *...* is the actual path to the accessed resource. In the example, the resource will be
accessed in the context of the database *mydb*. Actual URLs in the context of *mydb* could look
like this:

    http://localhost:8529/_db/mydb/_api/version
    http://localhost:8529/_db/mydb/_api/document/test/12345
    http://localhost:8529/_db/mydb/myapp/get