Class: V1::DemographicsController

Inherits:
ApiController
  • Object
show all
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

Instance Method Details

#indexObject

#lookupObject

#searchObject

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

#subject_searchObject