docs/api.md: fix documentation

Fix documentation
This commit is contained in:
mqliang 2015-10-09 10:41:12 +08:00
parent f74ff9b867
commit 8c580ffe2d

View File

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