diff options
author | Maxence Lange <maxence@nextcloud.com> | 2017-05-30 19:58:12 +0300 |
---|---|---|
committer | Maxence Lange <maxence@nextcloud.com> | 2017-05-31 00:58:25 +0300 |
commit | 2e6334e43dccc601015ce77e95e06c29f980b480 (patch) | |
tree | a8e8ae259bde71a61a783a182fd882f326544ba1 /lib/Api | |
parent | b8a94bcd93e2c4f2b328d563869f0ec0c84e019b (diff) |
API v1
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'lib/Api')
-rw-r--r-- | lib/Api/v1/Circles.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Api/v1/Circles.php b/lib/Api/v1/Circles.php index 73dfa67b..b85a6fdd 100644 --- a/lib/Api/v1/Circles.php +++ b/lib/Api/v1/Circles.php @@ -35,6 +35,7 @@ use OCA\Circles\Model\SharingFrame; class Circles { + const API_VERSION = '0.9.0'; protected static function getContainer() { $app = new Application(); @@ -44,6 +45,18 @@ class Circles { /** + * Circles::version() + * + * returns the current version of the API + * + * @return string + */ + public static function version() { + return self::API_VERSION; + } + + + /** * Circles::createCircle(); * * Create a new circle and make the current user its owner. |