Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Server Manual 1.8
Child Sections
Chapters

Chapter 8. REST API for Administration

Table of Contents

8.1. Types of Resources
8.2. HTTP Request Headers
8.3. HTTP Status Codes
8.4. Using the Couchbase Administrative Console
8.5. Viewing Cluster Information
8.6. Getting Information on Nodes
8.7. Retrieving Bucket Statistics from Nodes
8.8. Provisioning a Node
8.8.1. Configuring Disk Path for a Node
8.8.2. Configuring Memory Quota for a Cluster
8.8.3. Adding a Node to a Cluster
8.8.4. Setting Username and Password for a Node
8.9. Retrieve Auto-Failover Settings
8.10. Enabling/Disabling Auto-Failover
8.11. Resetting Auto-Failovers
8.12. View Settings for Email Notifications
8.13. Enabling/Disabling Email Notifications
8.14. Sending Test Emails
8.15. Viewing Cluster Details
8.16. Viewing Buckets and Bucket Operations
8.17. Getting Individual Bucket Information
8.18. Getting Bucket Information
8.19. Streaming Bucket Request
8.20. Getting Bucket Statistics
8.21. Managing Buckets
8.22. Creating a Memcached Bucket
8.23. Creating a Couchbase Bucket
8.24. Getting a Bucket Request
8.25. Modifying Bucket Properties
8.26. Increasing the Memory Quota for a Bucket
8.27. Changing Bucket Authentication
8.28. Flushing a Bucket
8.29. Deleting a Bucket
8.30. Adding a Node to a Cluster
8.31. Removing a Node from a Cluster
8.32. Initiating a Rebalance
8.33. Getting Rebalance Progress
8.34. Using System Logs
8.35. Client Logging Interface

The Couchbase Management REST API enables you to manage a Couchbase Server deployment. It conforms to Representational State Transfer (REST) constraints, in other words, the REST API follows a RESTful architecture. You use the REST API to manage clusters, server nodes, and buckets, and to retrieve run-time statistics within your Couchbase Server deployment.

Tip

The REST API is not used to directly manage data that is in memory or is on disk. The cache data management operations such asset and get, for example, are handled by Couchbase SDKs. See Couchbase SDKs.

The REST API accesses several different systems within the Couchbase Server product.

Please provide RESTful requests; you will not receive any handling instructions, resource descriptions, nor should you presume any conventions for URI structure for resources represented. The URIs in the REST API may have a specific URI or may even appear as RPC or some other architectural style using HTTP operations and semantics.

In other words, you should build your request starting from Couchbase Cluster URIs, and be aware that URIs for resources may change from version to version. Also note that the hierarchies shown here enable your reuse of requests, since they follow a similar pattern for accessing different parts of the system.

The REST API is built on a number of basic principles:

In order to use the REST API you should be aware of the different terms and concepts discussed in the following sections.