compared with
Current by Mark Nunberg
on Jul 28, 2013 14:26.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
h1. Table of contents

{toc}

* REMOVE
* INCR/DECR
* GETL (in review)
* UNL (in review)
* GETL (From 0.6)
* UNL (From 0.6)
* OBSERVE (From 0.6)
* GET_REPLICA (From 0.6)
* STATS
* VERSION
* VERBOSITY

Views are not currently implemented, and support for OBSERVE is planned.
A _views_ implementation is in progress.

h2. Out-of-band Commands


h2. Out-Of-Band Commands

The _Out-Of-Band (OOB or Control)_ commands are where "special" commands can be sent to the mock to do certain things which can simulate different conditions.




h2. HTTP API

This is a lightweight API following the semantics of the JSON API; only that it uses HTTP as a transport.

The format of each command is *_[http://localhost:18091/mock/]_{*}{*}_<command>?payload_param1=payload_value1&..._*

Where <command> is the value for the JSON *command*&nbsp;field, and the query parameters are expanded (URL-Encoded) fields within the *payload*.

Note that all requests (even those which modify data) use the _GET_&nbsp;method; this is to make it simple to test using a web browser.


h2. Command Listings