Server.api4 :get_client_params, :get, "/rc/#{Rhoconnect::API_VERSION}/clients/:client_id", \ true, {:verb => :post, :url => ['/api/get_client_params', '/api/client/get_client_params']} do |params,user| Client.load(params[:client_id],{:source_name => '*'}).to_array.to_json end