array('action' => 'ApiTimelinePublic',
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statuses/friends_timeline.:format',
- array('action' => 'ApiTimelineFriends',
- 'format' => '(xml|json|rss|atom|as)'));
-
$m->connect('api/statuses/friends_timeline/:id.:format',
array('action' => 'ApiTimelineFriends',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statuses/home_timeline.:format',
- array('action' => 'ApiTimelineHome',
+ $m->connect('api/statuses/friends_timeline.:format',
+ array('action' => 'ApiTimelineFriends',
'format' => '(xml|json|rss|atom|as)'));
$m->connect('api/statuses/home_timeline/:id.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statuses/user_timeline.:format',
- array('action' => 'ApiTimelineUser',
+ $m->connect('api/statuses/home_timeline.:format',
+ array('action' => 'ApiTimelineHome',
'format' => '(xml|json|rss|atom|as)'));
$m->connect('api/statuses/user_timeline/:id.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statuses/mentions.:format',
- array('action' => 'ApiTimelineMentions',
+ $m->connect('api/statuses/user_timeline.:format',
+ array('action' => 'ApiTimelineUser',
'format' => '(xml|json|rss|atom|as)'));
$m->connect('api/statuses/mentions/:id.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statuses/replies.:format',
+ $m->connect('api/statuses/mentions.:format',
array('action' => 'ApiTimelineMentions',
'format' => '(xml|json|rss|atom|as)'));
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
+ $m->connect('api/statuses/replies.:format',
+ array('action' => 'ApiTimelineMentions',
+ 'format' => '(xml|json|rss|atom|as)'));
+
$m->connect('api/statuses/retweeted_by_me.:format',
array('action' => 'ApiTimelineRetweetedByMe',
'format' => '(xml|json|atom|as)'));
array('action' => 'ApiTimelineRetweetsOfMe',
'format' => '(xml|json|atom|as)'));
- $m->connect('api/statuses/friends.:format',
- array('action' => 'ApiUserFriends',
- 'format' => '(xml|json)'));
-
$m->connect('api/statuses/friends/:id.:format',
array('action' => 'ApiUserFriends',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/statuses/followers.:format',
- array('action' => 'ApiUserFollowers',
+ $m->connect('api/statuses/friends.:format',
+ array('action' => 'ApiUserFriends',
'format' => '(xml|json)'));
$m->connect('api/statuses/followers/:id.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/statuses/show.:format',
- array('action' => 'ApiStatusesShow',
- 'format' => '(xml|json|atom)'));
+ $m->connect('api/statuses/followers.:format',
+ array('action' => 'ApiUserFollowers',
+ 'format' => '(xml|json)'));
$m->connect('api/statuses/show/:id.:format',
array('action' => 'ApiStatusesShow',
'id' => '[0-9]+',
'format' => '(xml|json|atom)'));
+ $m->connect('api/statuses/show.:format',
+ array('action' => 'ApiStatusesShow',
+ 'format' => '(xml|json|atom)'));
+
$m->connect('api/statuses/update.:format',
array('action' => 'ApiStatusesUpdate',
'format' => '(xml|json)'));
- $m->connect('api/statuses/destroy.:format',
+ $m->connect('api/statuses/destroy/:id.:format',
array('action' => 'ApiStatusesDestroy',
+ 'id' => '[0-9]+',
'format' => '(xml|json)'));
- $m->connect('api/statuses/destroy/:id.:format',
+ $m->connect('api/statuses/destroy.:format',
array('action' => 'ApiStatusesDestroy',
- 'id' => '[0-9]+',
'format' => '(xml|json)'));
$m->connect('api/statuses/retweet/:id.:format',
// users
- $m->connect('api/users/show.:format',
+ $m->connect('api/users/show/:id.:format',
array('action' => 'ApiUserShow',
+ 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/users/show/:id.:format',
+ $m->connect('api/users/show.:format',
array('action' => 'ApiUserShow',
- 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
$m->connect('api/users/profile_image/:screen_name.:format',
array('action' => 'ApiFriendshipsExists',
'format' => '(xml|json)'));
- $m->connect('api/friendships/create.:format',
+ $m->connect('api/friendships/create/:id.:format',
array('action' => 'ApiFriendshipsCreate',
+ 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/friendships/destroy.:format',
- array('action' => 'ApiFriendshipsDestroy',
- 'format' => '(xml|json)'));
-
- $m->connect('api/friendships/create/:id.:format',
+ $m->connect('api/friendships/create.:format',
array('action' => 'ApiFriendshipsCreate',
- 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
$m->connect('api/friendships/destroy/:id.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
+ $m->connect('api/friendships/destroy.:format',
+ array('action' => 'ApiFriendshipsDestroy',
+ 'format' => '(xml|json)'));
+
// Social graph
$m->connect('api/friends/ids/:id.:format',
// favorites
- $m->connect('api/favorites.:format',
+ $m->connect('api/favorites/:id.:format',
array('action' => 'ApiTimelineFavorites',
+ 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/favorites/:id.:format',
+ $m->connect('api/favorites.:format',
array('action' => 'ApiTimelineFavorites',
- 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
$m->connect('api/favorites/create/:id.:format',
'format' => '(xml|json)'));
// blocks
- $m->connect('api/blocks/create.:format',
- array('action' => 'ApiBlockCreate',
- 'format' => '(xml|json)'));
-
$m->connect('api/blocks/create/:id.:format',
array('action' => 'ApiBlockCreate',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/blocks/destroy.:format',
- array('action' => 'ApiBlockDestroy',
+ $m->connect('api/blocks/create.:format',
+ array('action' => 'ApiBlockCreate',
'format' => '(xml|json)'));
$m->connect('api/blocks/destroy/:id.:format',
array('action' => 'ApiBlockDestroy',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
+
+ $m->connect('api/blocks/destroy.:format',
+ array('action' => 'ApiBlockDestroy',
+ 'format' => '(xml|json)'));
+
// help
$m->connect('api/help/test.:format',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom|as)'));
- $m->connect('api/statusnet/groups/show.:format',
- array('action' => 'ApiGroupShow',
- 'format' => '(xml|json)'));
-
$m->connect('api/statusnet/groups/show/:id.:format',
array('action' => 'ApiGroupShow',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/statusnet/groups/join.:format',
- array('action' => 'ApiGroupJoin',
- 'id' => Nickname::INPUT_FMT,
+ $m->connect('api/statusnet/groups/show.:format',
+ array('action' => 'ApiGroupShow',
'format' => '(xml|json)'));
$m->connect('api/statusnet/groups/join/:id.:format',
array('action' => 'ApiGroupJoin',
'format' => '(xml|json)'));
- $m->connect('api/statusnet/groups/leave.:format',
- array('action' => 'ApiGroupLeave',
+ $m->connect('api/statusnet/groups/join.:format',
+ array('action' => 'ApiGroupJoin',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
array('action' => 'ApiGroupLeave',
'format' => '(xml|json)'));
+ $m->connect('api/statusnet/groups/leave.:format',
+ array('action' => 'ApiGroupLeave',
+ 'id' => Nickname::INPUT_FMT,
+ 'format' => '(xml|json)'));
+
$m->connect('api/statusnet/groups/is_member.:format',
array('action' => 'ApiGroupIsMember',
'format' => '(xml|json)'));
- $m->connect('api/statusnet/groups/list.:format',
+ $m->connect('api/statusnet/groups/list/:id.:format',
array('action' => 'ApiGroupList',
+ 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom)'));
- $m->connect('api/statusnet/groups/list/:id.:format',
+ $m->connect('api/statusnet/groups/list.:format',
array('action' => 'ApiGroupList',
- 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json|rss|atom)'));
$m->connect('api/statusnet/groups/list_all.:format',
array('action' => 'ApiGroupListAll',
'format' => '(xml|json|rss|atom)'));
- $m->connect('api/statusnet/groups/membership.:format',
+ $m->connect('api/statusnet/groups/membership/:id.:format',
array('action' => 'ApiGroupMembership',
+ 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
- $m->connect('api/statusnet/groups/membership/:id.:format',
+ $m->connect('api/statusnet/groups/membership.:format',
array('action' => 'ApiGroupMembership',
- 'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
$m->connect('api/statusnet/groups/create.:format',
array('action' => 'ApiListSubscriptions',
'user' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
- $m->connect('api/lists.:format',
- array('action' => 'ApiLists',
- 'format' => '(xml|json)'));
- $m->connect('api/:user/lists.:format',
+ $m->connect('api/lists.:format',
array('action' => 'ApiLists',
- 'user' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
$m->connect('api/:user/lists/:id.:format',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
+ $m->connect('api/:user/lists.:format',
+ array('action' => 'ApiLists',
+ 'user' => '[a-zA-Z0-9]+',
+ 'format' => '(xml|json)'));
+
$m->connect('api/:user/lists/:id/statuses.:format',
array('action' => 'ApiTimelineList',
'user' => '[a-zA-Z0-9]+',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json|rss|atom)'));
- $m->connect('api/:user/:list_id/members.:format',
- array('action' => 'ApiListMembers',
+ $m->connect('api/:user/:list_id/members/:id.:format',
+ array('action' => 'ApiListMember',
'user' => '[a-zA-Z0-9]+',
'list_id' => '[a-zA-Z0-9]+',
+ 'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
- $m->connect('api/:user/:list_id/subscribers.:format',
- array('action' => 'ApiListSubscribers',
+ $m->connect('api/:user/:list_id/members.:format',
+ array('action' => 'ApiListMembers',
'user' => '[a-zA-Z0-9]+',
'list_id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
- $m->connect('api/:user/:list_id/members/:id.:format',
- array('action' => 'ApiListMember',
+ $m->connect('api/:user/:list_id/subscribers/:id.:format',
+ array('action' => 'ApiListSubscriber',
'user' => '[a-zA-Z0-9]+',
'list_id' => '[a-zA-Z0-9]+',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
- $m->connect('api/:user/:list_id/subscribers/:id.:format',
- array('action' => 'ApiListSubscriber',
+ $m->connect('api/:user/:list_id/subscribers.:format',
+ array('action' => 'ApiListSubscribers',
'user' => '[a-zA-Z0-9]+',
'list_id' => '[a-zA-Z0-9]+',
- 'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
// Tags