diff --git a/src/application/controllers/api/v1/Appointments.php b/src/application/controllers/api/v1/Appointments.php new file mode 100644 index 00000000..ffa6a3b2 --- /dev/null +++ b/src/application/controllers/api/v1/Appointments.php @@ -0,0 +1,32 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +/** + * Appointments Controller + * + * @package Controllers + * @subpackage API + */ +class Appointments extends CI_Controller { + + public function get($id = null) { + echo 'hello ' . $id; + } + + public function post() { + echo 'post'; + } +} + +/* End of file appointments.php */ +/* Location: ./application/controllers/appointments.php */ diff --git a/src/application/controllers/api/v1/index.html b/src/application/controllers/api/v1/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/src/application/controllers/api/v1/index.html @@ -0,0 +1,10 @@ + +
+Directory access is forbidden.
+ + + \ No newline at end of file