POST drill/…

Updates specific drill details. Only the author of a drill can update its details. Note that if the drill is public or is used by a group, changes are immediately visible to all users.

A successful update results in an empty 200 response.

⚠️ Deprecrated

This endpoint is deprecated. Please use the PUT drill/… endpoint instead.

Resource URL

https://www.drillster.com/api/2.1.1/drill/{drill_id}

Parameters

Field Description
drill_id
required
The unique identifier of the drill. Note that this API call will only operate on drills, not on courses.

Example value: R_GVlYZQTKOEmN_r69EVFQ
name
optional
The name of the drill.

Example value: German Made Easy chapter 1
subject
optional
The subject of the drill.

Example value: German
description
optional
The description of the drill.

Example value: This drill is about the German language after all

Example request

POST https://www.drillster.com/api/2.1.1/drill/R_GVlYZQTKOEmN_r69EVFQ
name=German Made Easy chapter 1
subject=German
description=This drill is about the German language after all

Response

{}

Error responses

The following error situations are possible:

ID Description
invalid_drill_id Given drill ID is invalid or drill could not be loaded.
missing_parameters No input parameters specified.
invalid_locale Given locale is not valid.
invalid_drill_description Given drill description is not valid.
invalid_drill_name Given drill name is not valid.
invalid_drill_subject Given drill subject is not valid.