Sha256: bafa51be469de0d8fc2c35ef51f4f2e4f4869137ac65aef15d4b4927301f3691

Contents?: true

Size: 527 Bytes

Versions: 4

Compression:

Stored size: 527 Bytes

Contents

Server.api4 :search, :post, "/rc/#{Rhoconnect::API_VERSION}/app/search", false, {:verb => :get, :url => ['/application/search', '/api/application/search']} do |params,user,server|
  server.content_type :json
  res = ClientSync.search_all(server.current_client,params)
  server.response.headers[Rhoconnect::PAGE_TOKEN_HEADER] = res[0][1]['token'] if res[0][1] and res[0][1]['token']
  server.response.headers[Rhoconnect::PAGE_OBJECT_COUNT_HEADER] = res[0][3]['count'].to_s if res[0][3] and res[0][3]['count']
  res.to_json
end  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rhoconnect-3.4.5 lib/rhoconnect/api/app/search.rb
rhoconnect-3.4.4 lib/rhoconnect/api/app/search.rb
rhoconnect-3.4.3 lib/rhoconnect/api/app/search.rb
rhoconnect-3.4.2 lib/rhoconnect/api/app/search.rb