Tag: REST API

Use Postman With Couchbase Capella Public API
Couchbase Capella offers a public API which enables administrators and developers to integrate and interact with the Control Plane using a variety of programming languages and platforms. The RESTful APIs are intended to enable customers to integrate with Couchbase Capella...

Postman Collections for Sync Gateway Administration
Web-based clients can administer, monitor and interact with Couchbase Sync Gateway using a RESTful interface. With the Sync Gateway 3.0 release, database administration is done exclusively through the admin REST endpoint. Postman is an API test, development and documentation tool...

So Long, Manual Backup & Restore: Introducing the Couchbase Backup Service
Good news, DevOps: manual backups are now a thing of the past. The new Couchbase Backup Service automates once-manual backup and restore tasks to give DevOps and Operations teams time to focus on more important and engaging work while keeping...

How to Add Full-Text Search Functionality to Your JavaScript App
It’s unavoidable: If you’re working with a document database, you’re eventually going to need to search for (and through) your JSON documents. In this tutorial, you’ll add the full-text search capabilities of Couchbase to the basic REST API built with...

How to Query JSON Data Using SQL++ for Node.js and Couchbase
Today’s the day your Node.js app learns “go fetch.” By following this basic tutorial, you’ll learn how to build a REST API for your Node.js app that sends SQL++ (aka N1QL) queries to retrieve data from Couchbase. This post continues...

How to Troubleshoot Your SDK Connection using SDK Doctor & Couchbase Alternate Addresses
It’s a common experience to run into network connection errors when you’re developing an application – particularly if you’re connecting from your local computer SDK to a remote cluster. You’re likely to run into situations where your application can connect...

Build a REST-Based Application with Node.js, Express and Couchbase
If you’re new to Node.js, Couchbase or both, you’re about to level up your skills. Today I’ll show you how to build a minimal REST-based application for retrieving documents from Couchbase using Node.js and Express. This post continues my introductory...

Your Guide to User-Defined Functions in Couchbase Analytics
User-defined functions put you in the driver’s seat when it comes to querying and analyzing your data. In the Couchbase ecosystem, user-defined functions (UDFs) are reusable and parameterizable SQL++ queries that enable you to modularize queries and increase code reuse...

The N1QL Query Language Now Supports Distributed ACID Transactions
Multi-document, distributed ACID transactions are now available in Couchbase as part of the N1QL query language. Couchbase introduced ACID transactions in its v6.5 release with the Couchbase SDKs, and this has now been extended to the Couchbase N1QL Query Service...

Powershell with the Couchbase REST API
PowerShell is a scripting environment / command line that comes with Windows and is also available for Linux and within Azure. Maybe you’ve used Postman or Fiddler to make HTTP requests. Those are great, but not necessarily the right tools...

Managing REST APIs with Swagger (video)
Couchbase incorporated Swagger into our documentation a few months ago. “Swagger” refers to an ecosystem of tools and other resources for managing REST APIs. Core to Swagger is the Swagger specification. (The group behind Swagger donated the spec to the...

Querying Couchbase Sync Gateway using Postman
This post discusses a convenient way to query, explore and test the REST API exposed by the Couchbase Mobile Sync Gateway using the Postman Chrome Developer tool. Sync Gateway exposes a REST, Batch & Stream interface that allows clients interact with...