GET drill/…/tests

Retrieves all the test definitions that contain a drill.

Resource URL

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

Parameters

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

Example value: Ak_X20ACmESsTY72HU5IbU37I50Y9UO5_enbyfJYowc
resultFrom
optional
String The id of the last element from the previous page. Use this parameter, in combination with resultSize, to apply pagination of the result; it will limit the number of tests included in the result. If it is not specified, the first page will be displayed.
resultSize
optional
Integer The maximum number of tests to include in the result. If not specified, a maximum of 10 tests are returned.

Response

A 2.1.1 DrillTests object, with the tests that contain the drill.

Error responses

The following error situations are possible:

ID Response code Description
missing_drill_id 400 (Bad request) No drill id specified
drill_not_found 404 (Not found) The specified drill was not found