module BWAPI::Client::Admin

Admin module for admin endpoints

Public Instance Methods

active_queries(opts = {}) click to toggle source

Get the active queries irrespective of project

@param opts [Hash] options hash of parameters @option opts [Integer] page Page of projects to retrieve @option opts [Integer] pageSize Results per page of results @option opts [Integer] sortBy Filter to sort queries by @return [Hash] All active queries

# File lib/bwapi/client/admin.rb, line 22
def active_queries(opts = {})
  get 'admin/activequeries', opts
end
sharing_report() click to toggle source

Get the project report of sharing details

@return [Hash] Project sharing report

# File lib/bwapi/client/admin.rb, line 29
def sharing_report
  get 'admin/sharing-report'
end