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: |
statistic integer |
Statistics Ref ID. Read only Context: |
quiz integer |
Quiz ID Read only Context: |
question integer |
Question ID Read only Context: |
question_type string |
Question Type Read only Context: |
points_scored integer |
Points scored. Read only Context: |
points_total integer |
Points total. Read only Context: |
answers object |
The collection of Question answers. Read only Context: |
student object |
The collection of student submitted answers. Read only Context: |
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: |
per_page |
Maximum number of items to be returned in result set.
Default: |