]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/APContact/Endpoint.php
Fetch platform and version of nomad implementations
[friendica.git] / src / Model / APContact / Endpoint.php
index ebc23da0b5aa2b2255af14a4e62775e9358fd6d9..ea20c9e0f94d4365ae96856de29b728213372ce3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -27,11 +27,11 @@ class Endpoint
 {
        // Mobilizon Endpoints
        const DISCUSSIONS = 10;
-       const EVENTS = 11;
-       const MEMBERS = 12;
-       const POSTS = 13;
-       const RESOURCES = 14;
-       const TODOS = 15;
+       const EVENTS      = 11;
+       const MEMBERS     = 12;
+       const POSTS       = 13;
+       const RESOURCES   = 14;
+       const TODOS       = 15;
 
        // Peertube Endpoints
        const PLAYLISTS = 20;
@@ -40,14 +40,14 @@ class Endpoint
        const DEVICES = 30;
 
        const ENDPOINT_NAMES = [
-               self::PLAYLISTS => 'pt:playlists',
+               self::PLAYLISTS   => 'pt:playlists',
                self::DISCUSSIONS => 'mobilizon:discussions',
-               self::EVENTS => 'mobilizon:events',
-               self::MEMBERS => 'mobilizon:members',
-               self::POSTS => 'mobilizon:posts',
-               self::RESOURCES => 'mobilizon:resources',
-               self::TODOS => 'mobilizon:todos',
-               self::DEVICES => 'toot:devices',
+               self::EVENTS      => 'mobilizon:events',
+               self::MEMBERS     => 'mobilizon:members',
+               self::POSTS       => 'mobilizon:posts',
+               self::RESOURCES   => 'mobilizon:resources',
+               self::TODOS       => 'mobilizon:todos',
+               self::DEVICES     => 'toot:devices',
        ];
 
        /**