Class: V1::DemographicsController
- Inherits:
-
ApiController
- Object
- ApiController
- V1::DemographicsController
- Includes:
- Helpers::StrongParams
- Defined in:
- api/app/api/v1/demographics_controller.rb
Overview
Manage and retrieve demographics
Constant Summary collapse
- SUBJECT_SEARCH_PARAMS =
%i[page per search_term order_by order_dir subject_id].freeze
Instance Method Summary collapse
- #index ⇒ Object
- #lookup ⇒ Object
-
#search ⇒ Object
Search for demographics ### Options.
- #subject_search ⇒ Object
Instance Method Details
#index ⇒ Object
#lookup ⇒ Object
#search ⇒ Object
Search for demographics
Options
- [Integer] sensory_test_id - delimits the demographics to a particular study
- [Integer] event_id - delimits the demographics to a particular event
- No option - Search global (non-test) demographics