Add moto apis.

This commit is contained in:
Steve Pulec 2017-03-14 00:27:48 -04:00
commit b81e427b99
25 changed files with 1852 additions and 0 deletions

View file

@ -0,0 +1,21 @@
.. _moto_apis:
=========
Moto APIs
=========
Moto provides some internal APIs to view and change the state of the backends.
Reset API
---------
This API resets the state of all of the backends. Send an HTTP POST to reset::
requests.post("http://motoapi.amazonaws.com/moto-api/reset")
Dashboard
---------
Moto comes with a dashboard to view the current state of the system::
http://localhost:5000/moto-api/

View file

@ -0,0 +1,15 @@
.. _other_langs:
===============
Other languages
===============
You don't need to use Python to use Moto; it can be used with any language. To use it with another language, run moto_server and here are some examples in other languages.
* `Java`_
* `Ruby`_
* `Javascript`_
.. _Java: https://github.com/spulec/moto/blob/master/other_langs/sqsSample.java
.. _Ruby: https://github.com/spulec/moto/blob/master/other_langs/test.rb
.. _Javascript: https://github.com/spulec/moto/blob/master/other_langs/test.js