You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/rest-api-templates
Kinsey Moore 2a9cbd693e
Move JSON event generators into separate modules
12 years ago
..
README.txt This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
asterisk_processor.py Add channel events for res_stasis apps 12 years ago
do-not-edit.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
event_function_decl.mustache Add channel events for res_stasis apps 12 years ago
make_stasis_http_stubs.py Move JSON event generators into separate modules 12 years ago
odict.py This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
res_stasis_http_resource.c.mustache Move JSON event generators into separate modules 12 years ago
res_stasis_json_resource.c.mustache Move JSON event generators into separate modules 12 years ago
res_stasis_json_resource.exports.mustache Move JSON event generators into separate modules 12 years ago
rest_handler.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
stasis_http.make.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
stasis_http_resource.c.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
stasis_http_resource.h.mustache Move JSON event generators into separate modules 12 years ago
stasis_json_resource.h.mustache Move JSON event generators into separate modules 12 years ago
swagger_model.py Add channel events for res_stasis apps 12 years ago
transform.py This patch adds a RESTful HTTP interface to Asterisk. 12 years ago

README.txt

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/