data review

Starts a review session for the specified data reviewer. If a session exists with the same params, it will be returned.

Changed on
post/data_reviewer/{data_reviewer_id}/quality_assurance/session/start

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/data_reviewer/{data_reviewer_id}/quality_assurance/session/start
  • Auth
    HTTP bearer

Path parameters

data_reviewer_idinteger required

Query parameters

target_queue_countinteger

Request body

qa3_sample_from_reviewer_idsinteger[] nullable

Only select queues where the most recent passing QA2 review was done by one of the reviewers listed in this array. For example, setting qa3_sample_from_reviewer_ids = [1] will only select queues which recieved a passing QA2 review from the JLM. Only applies when sampling_method = 'qa3'.

sampling_method'qa2_default' | 'qa3'

Method used to determine how queues are selected during this QA session.

  • qa2_default (default): Sample from queues which have not received a passing QA2 review yet, prioritized by the queue priority (see app.models:MealPhotoQueuePriority). This is the default behavior for a standard QA2 session.
  • qa3: Used for QA3 - Review the Reviewer - sessions. Samples from queues which have recieved a passing QA2 review, and have not been edited since that review, prioritized by the queue priority (see app.models:MealPhotoQueuePriority). See also: QualityAssuranceSessionParams.qa3_sample_from_reviewer_ids.

NOTE: when values are added here, a handler must be added to app.api.queue.qa_session_service:_qa_queues_result_query.

Response

successful operation

average_review_duration_secondsinteger
completed_queue_countinteger
data_reviewer_idinteger required
idinteger required
review_idinteger nullable
status'active' | 'paused' | 'no_available_queues' | 'timed_out' | 'completed' required
target_queue_countinteger required

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status