Sha256: 6731eb23cf44c9deb84fc840b002a7d64be3811dad2e6e393b0a58674388ceb2
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
# Server.api4 :user_set_db_doc, :post, "/rc/#{Rhoconnect::API_VERSION}/users/:user_id/sources/:source_id/docs/:doc", true, nil do |params,user| # throw :halt, [500, "Unknown user '#{params[:user_id]}'"] unless User.is_exist?(params[:user_id]) # # s = Source.load(params[:source_id], {:app_id => APP_NAME,:user_id => params[:user_id]}) # db_key = s.docname(params[:doc]) # append_to_doc = params[:append] # append_to_doc ||= false # Store.set_db_doc(db_key,params[:data],append_to_doc) # '' # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-4.0.0.beta.10 | lib/rhoconnect/api/user/user_set_db_doc.rb |