module Api
class ChangesetsController < ApiController
- before_action :check_api_readable
before_action :check_api_writable, :only => [:create, :update, :upload, :subscribe, :unsubscribe]
before_action :setup_user_auth, :only => [:show]
before_action :authorize, :only => [:create, :update, :upload, :close, :subscribe, :unsubscribe]
before_action :require_public_data, :only => [:create, :update, :upload, :close, :subscribe, :unsubscribe]
before_action :set_request_formats, :except => [:create, :close, :upload]
- around_action :api_call_handle_error
- around_action :api_call_timeout, :except => [:upload]
+ skip_around_action :api_call_timeout, :only => [:upload]
# Helper methods for checking consistency
include ConsistencyValidations