Skip to content

Instantly share code, notes, and snippets.

@AlexandreBernard
Created October 19, 2012 16:11
Show Gist options
  • Select an option

  • Save AlexandreBernard/3919078 to your computer and use it in GitHub Desktop.

Select an option

Save AlexandreBernard/3919078 to your computer and use it in GitHub Desktop.
~/code/Bonjour-Bonjour ‹1.9.3-p194› ‹v2-draft› $ brake routes |grep v2
api_v2_users GET /public/users(.:format) api/v2/public/anonymous/users#index {:format=>"json"}
POST /public/users(.:format) api/v2/public/anonymous/users#create {:format=>"json"}
api_v2_auth_token POST /public/users/:email/auth_token(.:format) api/v2/public/anonymous/auth_tokens#create {:email=>/[^@]+@[^@]+/, :format=>"json"}
api_v2_private_phenotype_educational_backgrounds GET /phenotype/educational_backgrounds(.:format) api/v2/phenotype/educational_backgrounds#index {:format=>"json"}
api_v2_private_phenotype_eyes GET /phenotype/eyes(.:format) api/v2/phenotype/eyes#index {:format=>"json"}
api_v2_private_phenotype_genders GET /phenotype/genders(.:format) api/v2/phenotype/genders#index {:format=>"json"}
api_v2_private_phenotype_hairs GET /phenotype/hairs(.:format) api/v2/phenotype/hairs#index {:format=>"json"}
api_v2_private_phenotype_i_want_tos GET /phenotype/i_want_tos(.:format) api/v2/phenotype/i_want_tos#index {:format=>"json"}
api_v2_private_phenotype_passions GET /phenotype/passions(.:format) api/v2/phenotype/passions#index {:format=>"json"}
api_v2_private_phenotype_relationship_statuses GET /phenotype/relationship_statuses(.:format) api/v2/phenotype/relationship_statuses#index {:format=>"json"}
api_v2_private_phenotype_religions GET /phenotype/religions(.:format) api/v2/phenotype/religions#index {:format=>"json"}
api_v2_private_phenotype_silhouettes GET /phenotype/silhouettes(.:format) api/v2/phenotype/silhouettes#index {:format=>"json"}
api_v2_private_phenotype_starsigns GET /phenotype/starsigns(.:format) api/v2/phenotype/starsigns#index {:format=>"json"}
api_v2_private_phenotype_root /phenotype(.:format) api/v2/phenotype/phenotypes#index {:format=>"json"}
api_v2_private_gifts GET /gifts(.:format) api/v2/gifts#index {:format=>"json"}
api_v2_private_gift GET /gifts/:id(.:format) api/v2/gifts#show {:format=>"json"}
permanently_delete_my_account_api_v2_private_my_user GET|DELETE /my/self/permanently_delete_my_account/:destroy_request_token(.:format) api/v2/my/account_deletions#destroy {:format=>"json"}
api_v2_private_my_user GET /my/self(.:format) api/v2/my/users#show {:format=>"json"}
PUT /my/self(.:format) api/v2/my/users#update {:format=>"json"}
DELETE /my/self(.:format) api/v2/my/users#destroy {:format=>"json"}
api_v2_private_my_auth_token PUT /my/auth_token(.:format) api/v2/my/auth_tokens#update {:format=>"json"}
DELETE /my/auth_token(.:format) api/v2/my/auth_tokens#destroy {:format=>"json"}
destroy_all_interactions_api_v2_private_my_interactions DELETE /my/interactions(.:format) api/v2/my/interactions#destroy_all {:format=>"json"}
api_v2_private_my_interactions GET /my/interactions(.:format) api/v2/my/interactions#index {:format=>"json"}
api_v2_private_my_interaction DELETE /my/interactions/:id(.:format) api/v2/my/interactions#destroy {:format=>"json"}
api_v2_private_my_friends GET /my/friends(.:format) api/v2/my/friends#index {:format=>"json"}
api_v2_private_my_visitors GET /my/visitors(.:format) api/v2/my/visitors#index {:format=>"json"}
PUT /my/events(.:format) api/v2/my/events#update_all {:format=>"json"}
api_v2_private_my_events GET /my/events(.:format) api/v2/my/events#index {:format=>"json"}
api_v2_private_my_event GET /my/events/:id(.:format) api/v2/my/events#show {:format=>"json"}
PUT /my/events/:id(.:format) api/v2/my/events#update {:format=>"json"}
DELETE /my/events/:id(.:format) api/v2/my/events#destroy {:format=>"json"}
api_v2_private_my_notifications GET /my/notifications(.:format) api/v2/my/notifications#index {:format=>"json"}
api_v2_private_my_settings_confirm_phone POST /my/settings/confirm/phone(.:format) api/v2/my/settings/confirm/phones#create {:format=>"json"}
api_v2_private_my_settings_confirm_email POST /my/settings/confirm/email(.:format) api/v2/my/settings/confirm/emails#create {:format=>"json"}
api_v2_private_my_settings_token POST /my/settings/token(.:format) api/v2/my/settings/tokens#create {:format=>"json"}
DELETE /my/settings/token(.:format) api/v2/my/settings/tokens#destroy {:format=>"json"}
api_v2_private_my_photo_avatar PUT /my/photos/:photo_id/avatar(.:format) api/v2/my/avatars#update {:format=>"json"}
api_v2_private_my_photos GET /my/photos(.:format) api/v2/my/photos#index {:format=>"json"}
POST /my/photos(.:format) api/v2/my/photos#create {:format=>"json"}
api_v2_private_my_photo GET /my/photos/:id(.:format) api/v2/my/photos#show {:format=>"json"}
PUT /my/photos/:id(.:format) api/v2/my/photos#update {:format=>"json"}
DELETE /my/photos/:id(.:format) api/v2/my/photos#destroy {:format=>"json"}
api_v2_private_my_reports GET /my/reports(.:format) api/v2/my/report_abuse/reports#index {:format=>"json"}
api_v2_private_my_banned_users GET /my/banned_users(.:format) api/v2/my/report_abuse/banned_users#index {:format=>"json"}
api_v2_private_my_received_bonjour_pending_users GET /my/received/bonjour/pending/users(.:format) api/v2/my/received/bonjour/pending/users#index {:format=>"json"}
api_v2_private_my_language_talk POST /my/languages/:language_id/talk(.:format) api/v2/my/talks#create {:format=>"json"}
GET /my/languages/:language_id/talk(.:format) api/v2/my/talks#show {:format=>"json"}
PUT /my/languages/:language_id/talk(.:format) api/v2/my/talks#update {:format=>"json"}
DELETE /my/languages/:language_id/talk(.:format) api/v2/my/talks#destroy {:format=>"json"}
api_v2_private_my_languages GET /my/languages(.:format) api/v2/my/languages#index {:format=>"json"}
api_v2_private_my_language GET /my/languages/:id(.:format) api/v2/my/languages#show {:format=>"json"}
api_v2_private_my_super_visibility POST /my/super_visibility(.:format) api/v2/my/consommable/super_visibilities#create {:format=>"json"}
api_v2_private_my_stalker POST /my/stalker(.:format) api/v2/my/consommable/stalkers#create {:format=>"json"}
DELETE /my/super_visibility(.:format) api/v2/my/super_visibilities#destroy {:format=>"json"}
DELETE /my/stalker(.:format) api/v2/my/stalkers#destroy {:format=>"json"}
api_v2_private_my_root /my(.:format) api/v2/my/users#show {:format=>"json"}
api_v2_private_remote_users GET /users(.:format) api/v2/blocked/destination/users#index {:format=>"json"}
api_v2_private_remote_user DELETE /users/:id(.:format) api/v2/blocked/destination/users#destroy {:format=>"json"}
api_v2_private_remote_user_report POST /users/:user_id/report(.:format) api/v2/unblocked/report_abuse/reports#create {:format=>"json"}
GET /users/:user_id/report(.:format) api/v2/unblocked/report_abuse/reports#show {:format=>"json"}
DELETE /users/:user_id/report(.:format) api/v2/unblocked/report_abuse/reports#destroy {:format=>"json"}
api_v2_private_remote_user_block POST /users/:user_id/block(.:format) api/v2/unblocked/report_abuse/blocks#create {:format=>"json"}
api_v2_private_remote_user_events GET /users/:user_id/events(.:format) api/v2/unblocked/events#index {:format=>"json"}
api_v2_private_remote_user_event GET /users/:user_id/events/:id(.:format) api/v2/unblocked/events#show {:format=>"json"}
DELETE /users/:user_id/events/:id(.:format) api/v2/unblocked/events#destroy {:format=>"json"}
destroy_all_interactions_api_v2_private_remote_user_interactions DELETE /users/:user_id/interactions(.:format) api/v2/unblocked/interactions#destroy_all {:format=>"json"}
api_v2_private_remote_user_interactions GET /users/:user_id/interactions(.:format) api/v2/unblocked/interactions#index {:format=>"json"}
api_v2_private_remote_user_photos GET /users/:user_id/photos(.:format) api/v2/unblocked/photos#index {:format=>"json"}
api_v2_private_remote_user_photo GET /users/:user_id/photos/:id(.:format) api/v2/unblocked/photos#show {:format=>"json"}
api_v2_private_remote_user_bonjour DELETE /users/:user_id/bonjour(.:format) api/v2/unblocked/bonjours#destroy {:format=>"json"}
api_v2_private_remote_user_friend_message POST /users/:user_id/friend/message(.:format) api/v2/unblocked/friend/messages#create {:format=>"json"}
api_v2_private_remote_user_friend_gift_offer POST /users/:user_id/friend/gifts/:gift_id/offer(.:format) api/v2/unblocked/friend/consommable/offers#create {:format=>"json"}
api_v2_private_remote_user_stranger_bonjour POST /users/:user_id/stranger/bonjour(.:format) api/v2/unblocked/stranger/consommable/bonjours#create {:format=>"json", :super=>false}
GET /users(.:format) api/v2/unblocked/users#index {:format=>"json"}
GET /users/:id(.:format) api/v2/unblocked/users#show {:format=>"json"}
~/code/Bonjour-Bonjour ‹1.9.3-p194› ‹v2-draft› $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment