summaryrefslogtreecommitdiff
path: root/rest-api-templates/ari_resource.h.mustache
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-05-23 18:04:07 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-05-23 18:04:07 -0500
commitcab97fd9056e1dd99f4d6e0883c128131467df44 (patch)
tree82045e0bc958deb5662d14679c89d02845b5c89b /rest-api-templates/ari_resource.h.mustache
parentc20e560516239dc32c93bd3484abad4fa42045f5 (diff)
parente773e3a9bbaf378d53647e4bac3ffcd61afb4ae6 (diff)
Merge "ARI: Add the ability to download the media associated with a stored recording"
Diffstat (limited to 'rest-api-templates/ari_resource.h.mustache')
-rw-r--r--rest-api-templates/ari_resource.h.mustache8
1 files changed, 8 insertions, 0 deletions
diff --git a/rest-api-templates/ari_resource.h.mustache b/rest-api-templates/ari_resource.h.mustache
index 5e06af734..df075af35 100644
--- a/rest-api-templates/ari_resource.h.mustache
+++ b/rest-api-templates/ari_resource.h.mustache
@@ -82,11 +82,19 @@ int ast_ari_{{c_name}}_{{c_nickname}}_parse_body(
* {{{notes}}}
{{/notes}}
*
+{{#is_binary_response}}
+ * \param ser TCP/TLS session instance
+{{/is_binary_response}}
* \param headers HTTP headers
* \param args Swagger parameters
* \param[out] response HTTP response
*/
+{{^is_binary_response}}
void ast_ari_{{c_name}}_{{c_nickname}}(struct ast_variable *headers, struct ast_ari_{{c_name}}_{{c_nickname}}_args *args, struct ast_ari_response *response);
+{{/is_binary_response}}
+{{#is_binary_response}}
+void ast_ari_{{c_name}}_{{c_nickname}}(struct ast_tcptls_session_instance *ser, struct ast_variable *headers, struct ast_ari_{{c_name}}_{{c_nickname}}_args *args, struct ast_ari_response *response);
+{{/is_binary_response}}
{{/is_req}}
{{#is_websocket}}