Sha256: 5e5fa0e9d7b2005efd51d3dfce39419feedc82b488580564e480421ad7d1ae13

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

Server.api4 :query, :get, "/app/#{Rhoconnect::API_VERSION}/:source_name", false, {:verb => :get, :url => ['/api/application', '/application', '/api/application/query']} do |params,user,server|
  server.content_type :json
  res = server.current_client_sync.send_cud(params[:token],params[:query])
  server.response.headers[Rhoconnect::PAGE_TOKEN_HEADER] = res[1]['token']
  server.response.headers[Rhoconnect::PAGE_OBJECT_COUNT_HEADER] = res[2]['count'].to_s
  res.to_json
end

Version data entries

4 entries across 4 versions & 1 rubygems

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