Revision 6f943886
Added by Joseph Magen over 10 years ago
app/controllers/api/v2/smart_class_parameters_controller.rb | ||
---|---|---|
class SmartClassParametersController < V2::BaseController
|
||
include Api::Version2
|
||
include Api::V2::LookupKeysCommonController
|
||
alias_method :resource_scope, :smart_class_parameters_resource_scope
|
||
|
||
api :GET, '/smart_class_parameters', 'List all smart class parameters'
|
||
api :GET, '/hosts/:host_id/smart_class_parameters', 'List of smart class parameters for a specific host'
|
||
... | ... | |
|
||
end
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #3760 - API v2 define metadata @total for each controller