Tag: REST API

So Long, Manual Backup & Restore: Introducing the Couchbase Backup Service

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

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...

September 20, 2021
How to Query JSON Data Using N1QL for Node.js and Couchbase

How to Query JSON Data Using N1QL 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 N1QL / SQL queries to retrieve data from Couchbase. This post continues...

September 15, 2021
How to Troubleshoot Your SDK Connection using SDK Doctor & Couchbase Alternate Addresses

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

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...

September 6, 2021
Your Guide to User-Defined Functions in Couchbase Analytics

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 N1QL queries that enable you to modularize queries and increase code reuse...

August 26, 2021
The N1QL Query Language Now Supports Distributed ACID Transactions

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...

August 2, 2021
Powershell with the Couchbase REST API

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...

September 14, 2017
Managing REST APIs with Swagger (video)

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

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...