Sha256: 52c3d42bca33877568806c25ae8665082687511d99ec4db25e38f39128632003
Contents?: true
Size: 729 Bytes
Versions: 6
Compression:
Stored size: 729 Bytes
Contents
Server.api4 :list_client_docs, :get, "/rc/#{Rhoconnect::API_VERSION}/clients/:client_id/sources/:source_id/docnames", \ true, {:verb => :post, :url => ['/api/list_client_docs', '/api/client/list_client_docs']} do |params,user| Rhoconnect::Stats::Record.update('clientdocs') do c = Client.load(params[:client_id],{:source_name => params[:source_id]}) res = {} [:cd,:cd_size,:create,:update,:delete, :page,:delete_page,:create_links,:create_links_page,:page_token, :create_errors,:update_errors,:delete_errors,:login_error,:logoff_error, :search,:search_token,:search_errors].each do |doc| db_key = c.docname(doc) res.merge!(doc => db_key) end res.to_json end end
Version data entries
6 entries across 6 versions & 1 rubygems