Contents
Schema #
The schema defines all the fields that exist within a question types 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.
name string |
The title for the question type Read only Context: |
description string |
The description for the question type. Read only Context: |
slug string |
An alphanumeric identifier for the question type Read only Context: |
Retrieve a Question Types #
Definition & Example Request #
GET /ldlms/v2/question-types
Query this endpoint to retrieve a specific question types record.
$ curl https://example.com/wp-json/ldlms/v2/question-types
Sample Response #
Arguments #
context |
Scope under which the request is made; determines fields present in response.
Default: One of: |
Retrieve a Question Types #
Definition & Example Request #
GET /ldlms/v2/question-types/<slug>
Query this endpoint to retrieve a specific question types record.
$ curl https://example.com/wp-json/ldlms/v2/question-types/<slug>
Sample Response #
Arguments #
slug |
An alphanumeric identifier for the type |
context |
Scope under which the request is made; determines fields present in response.
Default: One of: |