GET /_uuids

In this document

This request retrieves a list of the database identifiers.

Request


Request headers

This request does not have any required headers.

Query parameters

This request does not use query parameters.

Message body

This request does not use a message body.

Response


Status codes

Response headers

This response uses only standard HTTP headers.

Message body

The response message body is a JSON document that contains the following objects.

NameTypeDescription
uuidsarrayList of database identifiers

Example


The following example requests the UUIDs from the local server.

Request

GET /_uuids HTTP/1.1
Host: localhost:59840

Response

HTTP/1.1 200 OK
Server: CouchbaseLite 1.485
Content-Type: application/json
Accept-Ranges: bytes
Content-Length: 65
Cache-Control: must-revalidate
Date: Mon, 09 Dec 2013 03:20:40 GMT
{
  "uuids" : [
    "E29107F0-DF5F-4273-86C4-4FF2ED0229AD"
  ]
}