From 8c580ffe2d9db4ce73bc6f55635c42a7725487aa Mon Sep 17 00:00:00 2001 From: mqliang Date: Fri, 9 Oct 2015 10:41:12 +0800 Subject: [PATCH] docs/api.md: fix documentation Fix documentation --- Documentation/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/api.md b/Documentation/api.md index 60782b07e..f7dfe597b 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -506,7 +506,7 @@ The current comparable conditions are: 2. `prevIndex` - checks the previous modifiedIndex of the key. -3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if prevExist is `false`, it is a `create` request. +3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if `prevExist` is `false`, it is a `create` request. Here is a simple example. Let's create a key-value pair first: `foo=one`.