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
Matthew Jordan 86e927a714
make_ari_stubs: Update wiki prefix to '13'
11 years ago
..
README.txt This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
api.wiki.mustache api.wiki.mustache: Update wiki template to support body parameters 11 years ago
ari.make.mustache ARI: Implement device state API 12 years ago
ari_model_validators.c.mustache The Swagger 1.2 specification for type extension ended up being 12 years ago
ari_model_validators.h.mustache ARI: Add subscription support 12 years ago
ari_resource.c.mustache ari: Fix #include to match generated headers for snakeCase resource files 12 years ago
ari_resource.h.mustache ARI: Remove unnecessary \briefs from automatically generated documentation 11 years ago
asterisk_processor.py ARI: Support channel variables in originate 11 years ago
body_parsing.mustache ARI: Support channel variables in originate 11 years ago
do-not-edit.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
make_ari_stubs.py make_ari_stubs: Update wiki prefix to '13' 11 years ago
models.wiki.mustache The Swagger 1.2 specification for type extension ended up being 12 years ago
odict.py This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
param_cleanup.mustache ARI - implement allowMultiple for parameters 12 years ago
param_parsing.mustache ARI: Support channel variables in originate 11 years ago
res_ari_resource.c.mustache res_ari_resource.c.mustache: Update template to emit module support level 11 years ago
rest_handler.mustache ari: User better nicknames for ARI operations 12 years ago
swagger_model.py api.wiki.mustache: Update wiki template to support body parameters 11 years ago
transform.py Update events to use Swagger 1.3 subtyping, and related aftermath 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/