Sha256: 2e5c43fed254e2abb1f6bfbb79c9097c438b214c89295b71d5345eaa8c9ac972
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 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| 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
Version data entries
3 entries across 3 versions & 1 rubygems