Skip to content

Instantly share code, notes, and snippets.

@jaturken
Created August 15, 2016 11:38
Show Gist options
  • Save jaturken/717e0c8c2e6ef0ed4be3d1ab46f95ebc to your computer and use it in GitHub Desktop.
Save jaturken/717e0c8c2e6ef0ed4be3d1ab46f95ebc to your computer and use it in GitHub Desktop.
API routes
new_v1_user_session GET /v1/auth/sign_in(.:format) devise_token_auth/sessions#new
v1_user_session POST /v1/auth/sign_in(.:format) devise_token_auth/sessions#create
destroy_v1_user_session DELETE /v1/auth/sign_out(.:format) devise_token_auth/sessions#destroy
v1_user_password POST /v1/auth/password(.:format) devise_token_auth/passwords#create
new_v1_user_password GET /v1/auth/password/new(.:format) devise_token_auth/passwords#new
edit_v1_user_password GET /v1/auth/password/edit(.:format) devise_token_auth/passwords#edit
PATCH /v1/auth/password(.:format) devise_token_auth/passwords#update
PUT /v1/auth/password(.:format) devise_token_auth/passwords#update
cancel_v1_user_registration GET /v1/auth/cancel(.:format) devise_token_auth/registrations#cancel
v1_user_registration POST /v1/auth(.:format) devise_token_auth/registrations#create
new_v1_user_registration GET /v1/auth/sign_up(.:format) devise_token_auth/registrations#new
edit_v1_user_registration GET /v1/auth/edit(.:format) devise_token_auth/registrations#edit
PATCH /v1/auth(.:format) devise_token_auth/registrations#update
PUT /v1/auth(.:format) devise_token_auth/registrations#update
DELETE /v1/auth(.:format) devise_token_auth/registrations#destroy
v1_user_confirmation POST /v1/auth/confirmation(.:format) devise_token_auth/confirmations#create
new_v1_user_confirmation GET /v1/auth/confirmation/new(.:format) devise_token_auth/confirmations#new
GET /v1/auth/confirmation(.:format) devise_token_auth/confirmations#show
v1_auth_validate_token GET /v1/auth/validate_token(.:format) devise_token_auth/token_validations#validate_token
v1_auth_failure GET /v1/auth/failure(.:format) devise_token_auth/omniauth_callbacks#omniauth_failure
GET /v1/auth/:provider/callback(.:format) devise_token_auth/omniauth_callbacks#omniauth_success
GET|POST /omniauth/:provider/callback(.:format) devise_token_auth/omniauth_callbacks#redirect_callbacks
omniauth_failure GET|POST /omniauth/failure(.:format) devise_token_auth/omniauth_callbacks#omniauth_failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment