PUT rendition/…/preferences
Updates the calling user's practice preferences for the given drillable.
Only attributes that are user configurable can be updated. Attempting to update attributes that are not user configurable will cause an error.
Resource URL
https://www.drillster.com/api/2.1.1/rendition/{drillable_id}/preferences
Parameters
| Field | Type | Description |
|---|---|---|
drillable_idrequired |
String | Unique identifier of the drill or course. Example value: 5YiBVXMMkIB6FmcLssQ74Q |
directionoptional |
String constant | The user's preferred practice direction for the drillable:
|
styleoptional |
String constant | The user's preferred practice style for the drillable:
|
unknownColumnsoptional, repeatable |
String | The names of the unknown columns to include. This parameter can be specified multiple times to include more than one unknown column. If no columns are given, the stored set if left unchanged. Specifying an empty set is not possible. |
useIntroductionsoptional |
Boolean | Specifies whether the calling user wants to see introductions for this drillable. |
autoAdvancementoptional |
Boolean | Specifies whether the calling user wants to advance to the next question automatically where appropriate. |
If a PUT request has no body (i.e. the body is empty), it is still mandatory to include a Content-Length header (i.e.
Content-Length: 0). Not all HTTP clients do this automatically. For more information, please see RFC 2616.
Response
A 2.1.1 Preferences object containing the practice preferences.
Last updated on