Skip to content

trainingQuizQuestions

Workforce module · 4 operations

List training quiz question rows

GET/training-quiz-questions

A question of a quiz lesson; its correct option is a training quiz key that learners never read. Returns a cursor page of training quiz question rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a training quiz question

POST/training-quiz-questions

A question of a quiz lesson; its correct option is a training quiz key that learners never read. Creates a training quiz question. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a training quiz question

GET/training-quiz-questions/{id}

A question of a quiz lesson; its correct option is a training quiz key that learners never read. Returns one training quiz question with its `ETag`. A training quiz question the caller may not see returns 404.

Update a training quiz question

PATCH/training-quiz-questions/{id}

A question of a quiz lesson; its correct option is a training quiz key that learners never read. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.