Quiz Statistics Questions

Schema #

The schema defines all the fields that exist within a quiz statistics questions record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.

id
integer

Unique ID for Statistics Question.

Read only

Context: view

statistic
integer

Statistics Ref ID.

Read only

Context: view

quiz
integer

Quiz ID

Read only

Context: embed, view

question
integer

Question ID

Read only

Context: embed, view

question_type
string

Question Type

Read only

Context: embed, view

points_scored
integer

Points scored.

Read only

Context: view

points_total
integer

Points total.

Read only

Context: view

answers
object

The collection of Question answers.

Read only

Context: view

student
object

The collection of student submitted answers.

Read only

Context: view

List Quiz Statistics Questions #

Query this endpoint to retrieve a collection of quiz statistics questions. The response you receive can be controlled and filtered using the URL query parameters below.

Definition #

GET /ldlms/v2/sfwd-quiz/<quiz>/statistics/<statistic>/questions

Example Request #

$ curl https://example.com/wp-json/ldlms/v2/sfwd-quiz/<quiz>/statistics/<statistic>/questions

Arguments #

quiz

Unique Quiz identifier for the object.

Required: 1

statistic

Unique Quiz Statistic identifier for the object.

Required: 1

context

Scope under which the request is made; determines fields present in response.

page

Current page of the collection.

Default: 1

per_page

Maximum number of items to be returned in result set.

Default: 10