asterisk/rest-api-templates
David M. Lee e148c6e867 No more teapots.
Now that the ARI implementation is nearing some definition of
completeness, we should properly respond with 501's for unimplemented
functionality, instead of the almost humorous 418.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-07-23 14:57:03 +00:00
..
api.wiki.mustache Update events to use Swagger 1.3 subtyping, and related aftermath 2013-07-03 16:32:41 +00:00
ari_model_validators.c.mustache Fix load errors related to the new ari_model_validators. 2013-07-03 19:46:50 +00:00
ari_model_validators.h.mustache Fix load errors related to the new ari_model_validators. 2013-07-03 19:46:50 +00:00
asterisk_processor.py ARI - channel recording support 2013-07-03 17:58:45 +00:00
do-not-edit.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
make_ari_stubs.py Update events to use Swagger 1.3 subtyping, and related aftermath 2013-07-03 16:32:41 +00:00
models.wiki.mustache Update events to use Swagger 1.3 subtyping, and related aftermath 2013-07-03 16:32:41 +00:00
odict.py This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
param_parsing.mustache Shuffle RESTful URL's around. 2013-07-03 16:32:00 +00:00
README.txt This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
res_stasis_http_resource.c.mustache No more teapots. 2013-07-23 14:57:03 +00:00
rest_handler.mustache Shuffle RESTful URL's around. 2013-07-03 16:32:00 +00:00
stasis_http.make.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
stasis_http_resource.c.mustache Shuffle RESTful URL's around. 2013-07-03 16:32:00 +00:00
stasis_http_resource.h.mustache Shuffle RESTful URL's around. 2013-07-03 16:32:00 +00:00
swagger_model.py ARI - channel recording support 2013-07-03 17:58:45 +00:00
transform.py Update events to use Swagger 1.3 subtyping, and related aftermath 2013-07-03 16:32:41 +00:00

This directory contains templates and template processing code for generating
HTTP bindings for the RESTful API's.

The RESTful API's are declared using [Swagger][swagger]. While Swagger provides
a [code generating toolkit][swagger-codegen], it requires Java to run, which
would be an unusual dependency to require for Asterisk developers.

This code generator is similar, but written in Python. Templates are processed
by using [pystache][pystache], which is a fairly simply Python implementation of
[mustache][mustache].

 [swagger]: https://github.com/wordnik/swagger-core/wiki
 [swagger-codegen]: https://github.com/wordnik/swagger-codegen
 [pystache]: https://github.com/defunkt/pystache
 [mustache]: http://mustache.github.io/