mirror of https://github.com/asterisk/asterisk
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.
194 lines
6.5 KiB
194 lines
6.5 KiB
/*
|
|
* Asterisk -- An open source telephony toolkit.
|
|
*
|
|
* Copyright (C) 2012 - 2013, Digium, Inc.
|
|
*
|
|
* David M. Lee, II <dlee@digium.com>
|
|
*
|
|
* See http://www.asterisk.org for more information about
|
|
* the Asterisk project. Please do not directly contact
|
|
* any of the maintainers of this project for assistance;
|
|
* the project provides a web site, mailing lists and IRC
|
|
* channels for your use.
|
|
*
|
|
* This program is free software, distributed under the terms of
|
|
* the GNU General Public License Version 2. See the LICENSE file
|
|
* at the top of the source tree.
|
|
*/
|
|
|
|
/*! \file
|
|
*
|
|
* \brief Generated file - declares stubs to be implemented in
|
|
* res/stasis_http/resource_recordings.c
|
|
*
|
|
* Recording resources
|
|
*
|
|
* \author David M. Lee, II <dlee@digium.com>
|
|
*/
|
|
|
|
/*
|
|
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
* !!!!! DO NOT EDIT !!!!!
|
|
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
* This file is generated by a mustache template. Please see the original
|
|
* template in rest-api-templates/stasis_http_resource.h.mustache
|
|
*/
|
|
|
|
#ifndef _ASTERISK_RESOURCE_RECORDINGS_H
|
|
#define _ASTERISK_RESOURCE_RECORDINGS_H
|
|
|
|
#include "asterisk/stasis_http.h"
|
|
|
|
/*! \brief Argument struct for stasis_http_get_recordings() */
|
|
struct ast_get_recordings_args {
|
|
};
|
|
/*!
|
|
* \brief List all recordings.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_get_recordings(struct ast_variable *headers, struct ast_get_recordings_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_get_stored_recordings() */
|
|
struct ast_get_stored_recordings_args {
|
|
};
|
|
/*!
|
|
* \brief List recordings that are complete.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_get_stored_recordings(struct ast_variable *headers, struct ast_get_stored_recordings_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_get_stored_recording() */
|
|
struct ast_get_stored_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Get a stored recording's details.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_get_stored_recording(struct ast_variable *headers, struct ast_get_stored_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_delete_stored_recording() */
|
|
struct ast_delete_stored_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Delete a stored recording.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_delete_stored_recording(struct ast_variable *headers, struct ast_delete_stored_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_get_live_recordings() */
|
|
struct ast_get_live_recordings_args {
|
|
};
|
|
/*!
|
|
* \brief List libe recordings.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_get_live_recordings(struct ast_variable *headers, struct ast_get_live_recordings_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_get_live_recording() */
|
|
struct ast_get_live_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief List live recordings.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_get_live_recording(struct ast_variable *headers, struct ast_get_live_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_cancel_recording() */
|
|
struct ast_cancel_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Stop a live recording and discard it.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_cancel_recording(struct ast_variable *headers, struct ast_cancel_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_stop_recording() */
|
|
struct ast_stop_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Stop a live recording and store it.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_stop_recording(struct ast_variable *headers, struct ast_stop_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_pause_recording() */
|
|
struct ast_pause_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Pause a live recording.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_pause_recording(struct ast_variable *headers, struct ast_pause_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_unpause_recording() */
|
|
struct ast_unpause_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Unpause a live recording.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_unpause_recording(struct ast_variable *headers, struct ast_unpause_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_mute_recording() */
|
|
struct ast_mute_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Mute a live recording.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_mute_recording(struct ast_variable *headers, struct ast_mute_recording_args *args, struct stasis_http_response *response);
|
|
/*! \brief Argument struct for stasis_http_unmute_recording() */
|
|
struct ast_unmute_recording_args {
|
|
/*! \brief Recording's id */
|
|
const char *recording_id;
|
|
};
|
|
/*!
|
|
* \brief Unmute a live recording.
|
|
*
|
|
* \param headers HTTP headers
|
|
* \param args Swagger parameters
|
|
* \param[out] response HTTP response
|
|
*/
|
|
void stasis_http_unmute_recording(struct ast_variable *headers, struct ast_unmute_recording_args *args, struct stasis_http_response *response);
|
|
|
|
#endif /* _ASTERISK_RESOURCE_RECORDINGS_H */
|