@@ -265,96 +265,69 @@ public function getApiMethods()
265265 {
266266 static $ httpmethods = array (
267267 'GET ' => array (
268- // Timelines
269- 'statuses/mentions_timeline ' ,
270- 'statuses/user_timeline ' ,
271- 'statuses/home_timeline ' ,
272- 'statuses/retweets_of_me ' ,
273-
274- // Tweets
275- 'statuses/retweets/:id ' ,
276- 'statuses/show/:id ' ,
277- 'statuses/oembed ' ,
278- 'statuses/retweeters/ids ' ,
279-
280- // Search
281- 'search/tweets ' ,
282-
283- // Direct Messages
268+ 'account/settings ' ,
269+ 'account/verify_credentials ' ,
270+ 'application/rate_limit_status ' ,
271+ 'blocks/ids ' ,
272+ 'blocks/list ' ,
284273 'direct_messages ' ,
285274 'direct_messages/sent ' ,
286275 'direct_messages/show ' ,
287-
288- // Friends & Followers
289- 'friendships/no_retweets/ids ' ,
290- 'friends/ids ' ,
276+ 'favorites/list ' ,
291277 'followers/ids ' ,
292- 'friendships/lookup ' ,
278+ 'followers/list ' ,
279+ 'friends/ids ' ,
280+ 'friends/list ' ,
293281 'friendships/incoming ' ,
282+ 'friendships/lookup ' ,
283+ 'friendships/lookup ' ,
284+ 'friendships/no_retweets/ids ' ,
294285 'friendships/outgoing ' ,
295286 'friendships/show ' ,
296- 'friends/list ' ,
297- 'followers/list ' ,
298- 'friendships/lookup ' ,
299-
300- // Users
301- 'account/settings ' ,
302- 'account/verify_credentials ' ,
303- 'blocks/list ' ,
304- 'blocks/ids ' ,
305- 'users/show ' ,
306- 'users/search ' ,
307- 'users/contributees ' ,
308- 'users/contributors ' ,
309- 'users/profile_banner ' ,
310- 'mutes/users/ids ' ,
311- 'mutes/users/list ' ,
312-
313- // Suggested Users
314- 'users/suggestions/:slug ' ,
315- 'users/suggestions ' ,
316- 'users/suggestions/:slug/members ' ,
317-
318- // Favorites
319- 'favorites/list ' ,
320-
321- // Lists
287+ 'geo/id/:place_id ' ,
288+ 'geo/reverse_geocode ' ,
289+ 'geo/search ' ,
290+ 'geo/similar_places ' ,
291+ 'help/configuration ' ,
292+ 'help/languages ' ,
293+ 'help/privacy ' ,
294+ 'help/tos ' ,
322295 'lists/list ' ,
323- 'lists/statuses ' ,
296+ 'lists/members ' ,
297+ 'lists/members/show ' ,
324298 'lists/memberships ' ,
299+ 'lists/ownerships ' ,
300+ 'lists/show ' ,
301+ 'lists/statuses ' ,
325302 'lists/subscribers ' ,
326303 'lists/subscribers/show ' ,
327- 'lists/members/show ' ,
328- 'lists/members ' ,
329- 'lists/show ' ,
330304 'lists/subscriptions ' ,
331- 'lists/ownerships ' ,
332-
333- // Saved searches
305+ 'mutes/users/ids ' ,
306+ 'mutes/users/list ' ,
307+ 'oauth/authenticate ' ,
308+ 'oauth/authorize ' ,
334309 'saved_searches/list ' ,
335310 'saved_searches/show/:id ' ,
336-
337- // Places & Geo
338- 'geo/id/:place_id ' ,
339- 'geo/reverse_geocode ' ,
340- 'geo/search ' ,
341- 'geo/similar_places ' ,
342-
343- // Trends
344- 'trends/place ' ,
311+ ' search/tweets ' ,
312+ ' statuses/home_timeline ' ,
313+ 'statuses/mentions_timeline ' ,
314+ 'statuses/oembed ' ,
315+ 'statuses/retweeters/ids ' ,
316+ 'statuses/retweets/:id ' ,
317+ ' statuses/retweets_of_me ' ,
318+ ' statuses/show/:id ' ,
319+ 'statuses/user_timeline ' ,
345320 'trends/available ' ,
346321 'trends/closest ' ,
347-
348- // OAuth
349- 'oauth/authenticate ' ,
350- 'oauth/authorize ' ,
351-
352- // Help
353- 'help/configuration ' ,
354- 'help/languages ' ,
355- 'help/privacy ' ,
356- 'help/tos ' ,
357- 'application/rate_limit_status ' ,
322+ 'trends/place ' ,
323+ 'users/contributees ' ,
324+ 'users/contributors ' ,
325+ 'users/profile_banner ' ,
326+ 'users/search ' ,
327+ 'users/show ' ,
328+ 'users/suggestions ' ,
329+ 'users/suggestions/:slug ' ,
330+ 'users/suggestions/:slug/members ' ,
358331
359332 // Internal
360333 'users/recommendations ' ,
@@ -378,65 +351,48 @@ public function getApiMethods()
378351 'beta/timelines/custom/show '
379352 ),
380353 'POST ' => array (
381- // Tweets
382- 'statuses/destroy/:id ' ,
383- 'statuses/update ' ,
384- 'statuses/retweet/:id ' ,
385- 'statuses/update_with_media ' ,
386- 'media/upload ' ,
387- 'statuses/lookup ' ,
388-
389- // Direct Messages
390- 'direct_messages/destroy ' ,
391- 'direct_messages/new ' ,
392-
393- // Friends & Followers
394- 'friendships/create ' ,
395- 'friendships/destroy ' ,
396- 'friendships/update ' ,
397-
398- // Users
354+ 'account/remove_profile_banner ' ,
399355 'account/settings__post ' ,
400356 'account/update_delivery_device ' ,
401357 'account/update_profile ' ,
402358 'account/update_profile_background_image ' ,
359+ 'account/update_profile_banner ' ,
403360 'account/update_profile_colors ' ,
404361 'account/update_profile_image ' ,
405362 'blocks/create ' ,
406363 'blocks/destroy ' ,
407- 'users/lookup ' ,
408- 'account/update_profile_banner ' ,
409- 'account/remove_profile_banner ' ,
410- 'mutes/users/create ' ,
411- 'mutes/users/destroy ' ,
412-
413- // Favorites
414- 'favorites/destroy ' ,
364+ 'direct_messages/destroy ' ,
365+ 'direct_messages/new ' ,
415366 'favorites/create ' ,
416-
417- // Lists
367+ 'favorites/destroy ' ,
368+ 'friendships/create ' ,
369+ 'friendships/destroy ' ,
370+ 'friendships/update ' ,
371+ 'lists/create ' ,
372+ 'lists/destroy ' ,
373+ 'lists/members/create ' ,
374+ 'lists/members/create_all ' ,
418375 'lists/members/destroy ' ,
376+ 'lists/members/destroy_all ' ,
419377 'lists/subscribers/create ' ,
420378 'lists/subscribers/destroy ' ,
421- 'lists/members/create_all ' ,
422- 'lists/members/create ' ,
423- 'lists/destroy ' ,
424379 'lists/update ' ,
425- 'lists/create ' ,
426- 'lists/members/destroy_all ' ,
427-
428- // Saved Searches
429- 'saved_searches/create ' ,
430- 'saved_searches/destroy/:id ' ,
431-
432- // Spam Reporting
433- 'users/report_spam ' ,
434-
435- // OAuth
380+ 'media/upload ' ,
381+ 'mutes/users/create ' ,
382+ 'mutes/users/destroy ' ,
436383 'oauth/access_token ' ,
437384 'oauth/request_token ' ,
438- 'oauth2/token ' ,
439385 'oauth2/invalidate_token ' ,
386+ 'oauth2/token ' ,
387+ 'saved_searches/create ' ,
388+ 'saved_searches/destroy/:id ' ,
389+ 'statuses/destroy/:id ' ,
390+ 'statuses/lookup ' ,
391+ 'statuses/retweet/:id ' ,
392+ 'statuses/update ' ,
393+ 'statuses/update_with_media ' ,
394+ 'users/lookup ' ,
395+ 'users/report_spam ' ,
440396
441397 // Internal
442398 'direct_messages/read ' ,
0 commit comments