
- #POSTMAN COLLECTION GITHUB FOR FREE#
- #POSTMAN COLLECTION GITHUB UPDATE#
- #POSTMAN COLLECTION GITHUB CODE#
The test associated with the request then extracts the _rev value and sets the rev environment variable. The revisionID of the new document is returned via the _rev field. This is accomplished by dynamically updating the environment variables with the results of request execution and removes the need to manually edit requests.įor instance, a new document revision is made when you create a document. Request Chaining takes the output of a request and uses it as input to a subsequent request.
#POSTMAN COLLECTION GITHUB CODE#
This screenshot shows the Tests tab that includes the test code and the Test Results console window at the bottom. Most of the requests in the collections include simple tests to verify the success of the request. Sync-Gateway-3.0-TravelSample-Environment All requests in this collection are authenticated. Retrieve stats related to Sync Gateway cluster. Sync-Gateway–3.0-TravelSample-Metrics-API
#POSTMAN COLLECTION GITHUB UPDATE#
All requests in this collection are authenticated.Ĭreate, update and access documents from the travel-sample database. Requests to create Sync Gateway travel-sample database, configure and manage the database and to create Sync Gateway users. The following collections are located in the travel-sample folder. The GitHub repository contains a custom version of the Postman collections for managing a Sync Gateway backed by a Travel Sample bucket. We’ll now walk through the process with a concrete example.

Once bootstrapped and connected to the Couchbase Server cluster, Sync Gateway is managed via the REST endpoint. Update the environment file settings per your deployment and start executing requests against Sync Gateway.Īt the end of it, your setup should look something like the following screenshot:Īdminister Sync Gateway via REST API: Example Walkthrough.

#POSTMAN COLLECTION GITHUB FOR FREE#

There are three Postman Collection JSON files with the suffix postman_collection.json included and a Postman Environment settings file as described in this table: File / Github link Now let’s explore the other contents of the cloned repo. The repository also contains a travel-sample folder and a custom collection for the Travel Sample application, as we discuss a little later. Https : ///couchbaselabs/Couchbase-Sync-Gateway-Postman-Collection.git
