Server.api4 :get_license_info, :get, "/rc/#{Rhoconnect::API_VERSION}/system/license", \ true, {:verb => :post, :url => ['/api/get_license_info', '/api/admin/get_license_info']} do |params,user| {:rhoconnect_version => Rhoconnect.license.rhoconnect_version, :licensee => Rhoconnect.license.licensee, :seats => Rhoconnect.license.seats, :issued => Rhoconnect.license.issued, :available => Rhoconnect.license.available }.to_json end