export const alwaysAllowedRoutes = [
  'GET /v1/users/me',
  'POST /v2/app-tokens/:tokenId/reissue',
];

export const appTokensScopes = [
  {
    name:   'read-my-info',
    title:  'Description of read-my-info',
    routes: [
      'GET /v2/users/whoami',
      'GET /v2/managedGroups',
      'GET /v2/users/blockedByMe',
    ]
  },
  {
    name:   'read-feeds',
    title:  'Description of read-any-feeds',
    routes: [
      'GET /v2/timelines/home',
      'GET /v2/timelines/filter/discussions',
      'GET /v2/timelines/filter/directs',
      'GET /v2/users/getUnreadDirectsNumber',
      'GET /v2/timelines/:username',
      'GET /v2/timelines/:username/likes',
      'GET /v2/timelines/:username/comments',
      'GET /v2/search',
      'GET /v2/summary/:days',
      'GET /v2/summary/:username/:days',
      'GET /v2/bestof',
      'GET /v2/timelines-rss/:username',
      'GET /v2/posts/:postId',
      'GET /v2/archives/post-by-old-name/:name',
      'GET /v2/allGroups',
      'GET /v2/comments/:commentId/likes',
    ]
  },
  {
    name:   'read-users-info',
    title:  'Description of read-users-info',
    routes: [
      'GET /v1/users/:username',
      'GET /v1/users/:username/subscribers',
      'GET /v1/users/:username/subscriptions',
    ]
  },
  {
    name:   'read-realtime',
    title:  'Read realtime messages',
    routes: [
      'WS *',
    ]
  },
  {
    name:   'manage-notifications',
    title:  'Description of manage-notifications',
    routes: [
      'GET /v2/notifications',
      'POST /v2/users/markAllNotificationsAsRead',
      'GET /v2/users/getUnreadNotificationsNumber',
    ]
  },
  {
    name:   'manage-posts',
    title:  'Description of manage-posts',
    routes: [
      'GET /v2/posts/:postId',
      'GET /v2/users/markAllDirectsAsRead',
      'GET /v2/comments/:commentId/likes',
      'POST /v1/attachments',
      'POST /v1/bookmarklet',
      'POST /v1/posts',
      'PUT /v1/posts/:postId',
      'POST /v1/posts/:postId/disableComments',
      'POST /v1/posts/:postId/enableComments',
      'DELETE /v1/posts/:postId',
      'POST /v1/comments',
      'PUT /v1/comments/:commentId',
      'DELETE /v1/comments/:commentId',
      'POST /v1/posts/:postId/like',
      'POST /v1/posts/:postId/unlike',
      'POST /v2/comments/:commentId/like',
      'POST /v2/comments/:commentId/unlike',
    ]
  },
  {
    name:   'manage-my-feeds',
    title:  'Description of manage-my-feeds',
    routes: [
      'POST /v1/users/:userId/subscribe',
      'POST /v1/users/:userId/unsubscribe',
      'POST /v1/posts/:postId/hide',
      'POST /v1/posts/:postId/unhide',
      'POST /v1/users/:userId/ban',
      'POST /v1/users/:userId/unban',
      'POST /v1/users/:userId/sendRequest',
      'POST /v2/requests/:followedUserName/revoke',
    ]
  },
  {
    name:   'manage-profile',
    title:  'Description of manage-profile',
    routes: [
      'POST /v1/groups/:groupName/updateProfilePicture',
      'POST /v1/users/updateProfilePicture',
      'PUT /v1/users/:userId',
    ]
  },
  {
    name:   'manage-groups',
    title:  'Description of manage-groups',
    routes: [
      'POST /v1/groups',
      'POST /v1/groups/:groupName/subscribers/:adminName/admin',
      'POST /v1/groups/:groupName/subscribers/:adminName/unadmin',
      'POST /v1/groups/:groupName/sendRequest',
      'POST /v1/groups/:groupName/acceptRequest/:userName',
      'POST /v1/groups/:groupName/rejectRequest/:userName',
      'POST /v1/groups/:groupName/unsubscribeFromGroup/:userName',
    ]
  },
  {
    name:   'manage-subscription-requests',
    title:  'Description of manage-subscription-requests',
    routes: [
      'POST /v1/users/acceptRequest/:username',
      'POST /v1/users/rejectRequest/:username',
      'POST /v1/users/:username/unsubscribeFromMe',
    ]
  },
];

@@ -180,35 +180,32 @@
 :  '
-Description of read-my-info
+Read my user information
 ',%0A 
@@ -371,36 +371,57 @@
 :  '
-Description of read-any-feed
+Read feeds, including my feeds and direct message
 s',%0A
@@ -1100,38 +1100,32 @@
 :  '
-Description of read-
+Read 
 users
--
+%5C' 
 info
+rmation
 ',%0A 
@@ -1436,38 +1436,23 @@
 itle:  '
-Description of m
+M
 anage
--
+ 
 notifica
@@ -1667,34 +1667,65 @@
 :  '
-Description of manage-post
+Manage (read, write and delete) posts, comments, and like
 s',%0A
@@ -2431,37 +2431,47 @@
 :  '
-Description of manage-my-feed
+Manage my subscriptions, hides, and ban
 s',%0A
@@ -2878,37 +2878,40 @@
 :  '
-Description of manage-
+Manage my and my groups 
 profile
+s
 ',%0A 
@@ -3113,38 +3113,23 @@
 itle:  '
-Description of m
+M
 anage
--
+ 
 groups',
@@ -3611,30 +3611,15 @@
 :  '
-Description of m
+M
 anage
--
+ 
 subs
@@ -3618,33 +3618,33 @@
 age subscription
--
+ 
 requests',%0A    r

Set human-readable scopes descriptions