David M. Lee
1c21b8575b
This patch adds a RESTful HTTP interface to Asterisk.
...
The API itself is documented using Swagger, a lightweight mechanism for
documenting RESTful API's using JSON. This allows us to use swagger-ui
to provide executable documentation for the API, generate client
bindings in different languages, and generate a lot of the boilerplate
code for implementing the RESTful bindings. The API docs live in the
rest-api/ directory.
The RESTful bindings are generated from the Swagger API docs using a set
of Mustache templates. The code generator is written in Python, and
uses Pystache. Pystache has no dependencies, and be installed easily
using pip. Code generation code lives in rest-api-templates/.
The generated code reduces a lot of boilerplate when it comes to
handling HTTP requests. It also helps us have greater consistency in the
REST API.
(closes issue ASTERISK-20891)
Review: https://reviewboard.asterisk.org/r/2376/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-04-22 14:58:53 +00:00
..
2012-07-25 12:21:54 +00:00
2012-12-03 21:19:40 +00:00
2012-07-23 21:15:26 +00:00
2012-10-07 17:33:38 +00:00
2012-06-26 13:23:12 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 22:25:21 +00:00
2013-03-28 15:45:18 +00:00
2012-07-11 17:16:50 +00:00
2012-04-17 18:57:40 +00:00
2012-07-11 17:16:50 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2013-04-16 15:33:59 +00:00
2010-07-14 20:48:59 +00:00
2013-03-08 15:15:13 +00:00
2012-09-22 20:43:30 +00:00
2012-12-08 00:19:39 +00:00
2013-04-03 16:01:51 +00:00
2012-09-22 20:43:30 +00:00
2012-06-15 16:20:16 +00:00
2013-02-15 17:38:22 +00:00
2013-03-04 21:15:36 +00:00
2008-10-30 16:49:02 +00:00
2012-09-25 19:29:14 +00:00
2013-04-16 15:33:59 +00:00
2013-03-26 01:58:45 +00:00
2012-12-11 22:25:21 +00:00
2013-04-08 14:26:37 +00:00
2013-04-15 16:22:03 +00:00
2012-06-15 16:20:16 +00:00
2013-04-19 05:20:02 +00:00
2013-02-15 18:44:24 +00:00
2013-01-02 22:19:49 +00:00
2012-03-22 19:51:16 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00
2012-11-04 01:19:43 +00:00
2013-04-16 15:33:59 +00:00
2013-04-08 14:26:37 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 01:19:39 +00:00
2012-10-18 14:17:40 +00:00
2012-03-22 19:51:16 +00:00
2012-10-18 14:17:40 +00:00
2013-04-04 18:15:34 +00:00
2013-04-10 23:08:02 +00:00
2013-01-28 01:58:41 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-03-27 19:52:19 +00:00
2012-12-05 03:19:08 +00:00
2013-04-08 13:27:45 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-04-22 14:58:53 +00:00
2012-12-11 22:25:21 +00:00
2012-12-11 02:19:39 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-04-22 14:58:53 +00:00
2012-09-14 19:53:43 +00:00
2012-01-30 21:21:16 +00:00
2013-02-19 17:17:10 +00:00
2012-11-23 00:20:55 +00:00
2013-03-07 15:09:01 +00:00
2013-03-22 20:51:33 +00:00
2013-04-15 16:43:47 +00:00
2013-04-10 23:03:30 +00:00
2012-04-28 01:33:49 +00:00
2013-04-18 17:26:29 +00:00
2013-02-15 13:38:12 +00:00
2012-06-20 02:07:00 +00:00
2012-06-15 16:20:16 +00:00
2013-04-16 15:48:16 +00:00
2012-06-15 16:20:16 +00:00
2010-09-07 19:09:08 +00:00
2013-04-16 15:48:16 +00:00
2012-06-15 16:20:16 +00:00
2013-03-07 15:48:06 +00:00
2012-09-25 23:10:22 +00:00
2012-06-15 16:20:16 +00:00
2012-11-19 20:20:36 +00:00
2012-09-21 17:14:59 +00:00
2012-10-11 15:49:02 +00:00
2012-06-15 16:20:16 +00:00
2013-04-02 12:18:50 +00:00
2012-06-15 16:20:16 +00:00
2013-03-28 15:45:18 +00:00
2013-04-15 16:43:47 +00:00
2013-03-19 19:07:46 +00:00
2013-03-15 17:35:16 +00:00
2013-04-01 13:37:51 +00:00
2013-01-19 20:54:07 +00:00
2012-09-21 17:14:59 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2013-02-12 21:45:59 +00:00
2013-03-15 12:53:03 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2013-03-30 05:06:54 +00:00
2013-03-07 21:55:28 +00:00
2012-07-31 20:21:43 +00:00
2012-12-11 22:25:21 +00:00
2012-07-13 16:49:40 +00:00
2013-02-15 13:38:12 +00:00
2012-06-15 16:20:16 +00:00
2013-01-12 07:21:01 +00:00
2013-03-28 23:59:20 +00:00
2013-02-15 13:38:12 +00:00
2013-04-02 11:40:05 +00:00