Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

3. CouchDB Basics > HTTP URL Paths

HTTP URL Paths

Because of the REST interface and the idempotency of the URLs that you use with CouchDB, the URLs that you use are significant and important. They define not only the components you are accessing, but in some areas of the system, they specify the ID of the object that you are creating.

The structure for the URLs has been standardized, and you should be able to both look at a URL that you are using to understand what it does, and to construct one to access the information that you want.

There are some conventions:

  • Components prefixed with an underscore always access some internal system or function. For example, when accessing /_uuids, you get a list of UUIDs from the system. Where the underscore prefix is used on a value at the start of the URL, then the special functionality is part of the entire system.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial