summaryrefslogtreecommitdiffstats
path: root/application/controllers/api/v1/api_info.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/api/v1/api_info.php')
-rw-r--r--application/controllers/api/v1/api_info.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/application/controllers/api/v1/api_info.php b/application/controllers/api/v1/api_info.php
new file mode 100644
index 000000000..3feaadfda
--- /dev/null
+++ b/application/controllers/api/v1/api_info.php
@@ -0,0 +1,16 @@
+<?php
+/*
+ * Copyright 2014 Florian "Bluewind" Pritz <bluewind@server-speed.net>
+ *
+ * Licensed under AGPLv3
+ * (see COPYING for full license text)
+ *
+ */
+namespace controllers\api\v1;
+
+class api_info extends \controllers\api\api_controller {
+ static public function get_version()
+ {
+ return "1.0.0";
+ }
+}