@@ -317,96 +317,69 @@ var Codebird = function () {
317
317
var getApiMethods = function ( ) {
318
318
var httpmethods = {
319
319
GET : [
320
- // Timelines
321
- "statuses/mentions_timeline" ,
322
- "statuses/user_timeline" ,
323
- "statuses/home_timeline" ,
324
- "statuses/retweets_of_me" ,
325
-
326
- // Tweets
327
- "statuses/retweets/:id" ,
328
- "statuses/show/:id" ,
329
- "statuses/oembed" ,
330
- "statuses/retweeters/ids" ,
331
-
332
- // Search
333
- "search/tweets" ,
334
-
335
- // Direct Messages
320
+ "account/settings" ,
321
+ "account/verify_credentials" ,
322
+ "application/rate_limit_status" ,
323
+ "blocks/ids" ,
324
+ "blocks/list" ,
336
325
"direct_messages" ,
337
326
"direct_messages/sent" ,
338
327
"direct_messages/show" ,
339
-
340
- // Friends & Followers
341
- "friendships/no_retweets/ids" ,
342
- "friends/ids" ,
328
+ "favorites/list" ,
343
329
"followers/ids" ,
344
- "friendships/lookup" ,
330
+ "followers/list" ,
331
+ "friends/ids" ,
332
+ "friends/list" ,
345
333
"friendships/incoming" ,
334
+ "friendships/lookup" ,
335
+ "friendships/lookup" ,
336
+ "friendships/no_retweets/ids" ,
346
337
"friendships/outgoing" ,
347
338
"friendships/show" ,
348
- "friends/list" ,
349
- "followers/list" ,
350
- "friendships/lookup" ,
351
-
352
- // Users
353
- "account/settings" ,
354
- "account/verify_credentials" ,
355
- "blocks/list" ,
356
- "blocks/ids" ,
357
- "users/show" ,
358
- "users/search" ,
359
- "users/contributees" ,
360
- "users/contributors" ,
361
- "users/profile_banner" ,
362
- "mutes/users/ids" ,
363
- "mutes/users/list" ,
364
-
365
- // Suggested Users
366
- "users/suggestions/:slug" ,
367
- "users/suggestions" ,
368
- "users/suggestions/:slug/members" ,
369
-
370
- // Favorites
371
- "favorites/list" ,
372
-
373
- // Lists
339
+ "geo/id/:place_id" ,
340
+ "geo/reverse_geocode" ,
341
+ "geo/search" ,
342
+ "geo/similar_places" ,
343
+ "help/configuration" ,
344
+ "help/languages" ,
345
+ "help/privacy" ,
346
+ "help/tos" ,
374
347
"lists/list" ,
375
- "lists/statuses" ,
348
+ "lists/members" ,
349
+ "lists/members/show" ,
376
350
"lists/memberships" ,
351
+ "lists/ownerships" ,
352
+ "lists/show" ,
353
+ "lists/statuses" ,
377
354
"lists/subscribers" ,
378
355
"lists/subscribers/show" ,
379
- "lists/members/show" ,
380
- "lists/members" ,
381
- "lists/show" ,
382
356
"lists/subscriptions" ,
383
- "lists/ownerships" ,
384
-
385
- // Saved searches
357
+ "mutes/users/ids" ,
358
+ "mutes/users/list" ,
359
+ "oauth/authenticate" ,
360
+ "oauth/authorize" ,
386
361
"saved_searches/list" ,
387
362
"saved_searches/show/:id" ,
388
-
389
- // Places & Geo
390
- "geo/id/:place_id " ,
391
- "geo/reverse_geocode " ,
392
- "geo/search " ,
393
- "geo/similar_places " ,
394
-
395
- // Trends
396
- "trends/place " ,
363
+ "search/tweets" ,
364
+ "statuses/home_timeline" ,
365
+ "statuses/mentions_timeline " ,
366
+ "statuses/oembed " ,
367
+ "statuses/retweeters/ids " ,
368
+ "statuses/retweets/:id " ,
369
+ "statuses/retweets_of_me" ,
370
+ "statuses/show/:id" ,
371
+ "statuses/user_timeline " ,
397
372
"trends/available" ,
398
373
"trends/closest" ,
399
-
400
- // OAuth
401
- "oauth/authenticate" ,
402
- "oauth/authorize" ,
403
-
404
- // Help
405
- "help/configuration" ,
406
- "help/languages" ,
407
- "help/privacy" ,
408
- "help/tos" ,
409
- "application/rate_limit_status" ,
374
+ "trends/place" ,
375
+ "users/contributees" ,
376
+ "users/contributors" ,
377
+ "users/profile_banner" ,
378
+ "users/search" ,
379
+ "users/show" ,
380
+ "users/suggestions" ,
381
+ "users/suggestions/:slug" ,
382
+ "users/suggestions/:slug/members" ,
410
383
411
384
// Internal
412
385
"users/recommendations" ,
@@ -430,65 +403,48 @@ var Codebird = function () {
430
403
"beta/timelines/custom/show"
431
404
] ,
432
405
POST : [
433
- // Tweets
434
- "statuses/destroy/:id" ,
435
- "statuses/update" ,
436
- "statuses/retweet/:id" ,
437
- "statuses/update_with_media" ,
438
- "media/upload" ,
439
- "statuses/lookup" ,
440
-
441
- // Direct Messages
442
- "direct_messages/destroy" ,
443
- "direct_messages/new" ,
444
-
445
- // Friends & Followers
446
- "friendships/create" ,
447
- "friendships/destroy" ,
448
- "friendships/update" ,
449
-
450
- // Users
406
+ "account/remove_profile_banner" ,
451
407
"account/settings__post" ,
452
408
"account/update_delivery_device" ,
453
409
"account/update_profile" ,
454
410
"account/update_profile_background_image" ,
411
+ "account/update_profile_banner" ,
455
412
"account/update_profile_colors" ,
456
413
"account/update_profile_image" ,
457
414
"blocks/create" ,
458
415
"blocks/destroy" ,
459
- "users/lookup" ,
460
- "account/update_profile_banner" ,
461
- "account/remove_profile_banner" ,
462
- "mutes/users/create" ,
463
- "mutes/users/destroy" ,
464
-
465
- // Favorites
466
- "favorites/destroy" ,
416
+ "direct_messages/destroy" ,
417
+ "direct_messages/new" ,
467
418
"favorites/create" ,
468
-
469
- // Lists
419
+ "favorites/destroy" ,
420
+ "friendships/create" ,
421
+ "friendships/destroy" ,
422
+ "friendships/update" ,
423
+ "lists/create" ,
424
+ "lists/destroy" ,
425
+ "lists/members/create" ,
426
+ "lists/members/create_all" ,
470
427
"lists/members/destroy" ,
428
+ "lists/members/destroy_all" ,
471
429
"lists/subscribers/create" ,
472
430
"lists/subscribers/destroy" ,
473
- "lists/members/create_all" ,
474
- "lists/members/create" ,
475
- "lists/destroy" ,
476
431
"lists/update" ,
477
- "lists/create" ,
478
- "lists/members/destroy_all" ,
479
-
480
- // Saved Searches
481
- "saved_searches/create" ,
482
- "saved_searches/destroy/:id" ,
483
-
484
- // Spam Reporting
485
- "users/report_spam" ,
486
-
487
- // OAuth
432
+ "media/upload" ,
433
+ "mutes/users/create" ,
434
+ "mutes/users/destroy" ,
488
435
"oauth/access_token" ,
489
436
"oauth/request_token" ,
490
- "oauth2/token" ,
491
437
"oauth2/invalidate_token" ,
438
+ "oauth2/token" ,
439
+ "saved_searches/create" ,
440
+ "saved_searches/destroy/:id" ,
441
+ "statuses/destroy/:id" ,
442
+ "statuses/lookup" ,
443
+ "statuses/retweet/:id" ,
444
+ "statuses/update" ,
445
+ "statuses/update_with_media" ,
446
+ "users/lookup" ,
447
+ "users/report_spam" ,
492
448
493
449
// Internal
494
450
"direct_messages/read" ,
0 commit comments