POST drill/…/duplicate

Duplicates a drill.

Resource URL

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

Parameters

Field Type Description
drill_id
required
String The unique ID of the drill.

Response

A 2.1.1 Drill object. The newly created drill will have a new ID.

Error responses

The following error situations are possible:

ID Response code Description
missing_drill 400 (Bad request) No drill was specified.
unknown_drill 404 (Not found) The specified drill is unknown.
no_permission 403 (Forbidden) You are not authorized to duplicate this drill.
insufficient_room 403 (Forbidden) There is not sufficient room available in your repertoire.