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