GET drillable/…/easy-and-difficult-entries

Returns the top-N easiest and most difficult questions of a drillable. The caller must have VIEW permission for the drill. This is currently only supported for drills (not courses).

Resource URL

https://www.drillster.com/api/2.1.1/drillable/{drillable_id}/easy-and-difficult-entries

Parameters

Field Type Description
drillable_id
required
String The ID of the drill or course to retrieve the easy and difficult entries for.

Example value: eSxMA4MISaCjJA43PgMEnQ

Example request

GET https://www.drillster.com/api/2.1.1/drillable/eSxMA4MISaCjJA43PgMEnQ/easy-and-difficult-entries

Response

{
  "easy": [ {
    "known": {
      "rowId": 0,
      "columnId": 0,
      "alternatives": [ {
        "value": "Bahnhof",
        "markup": [ ],
        "decoy": false
      } ]
    },
    "unknown": {
      "rowId": 0,
      "columnId": 1,
      "alternatives": [ {
        "value": "Train station",
        "markup": [ ],
        "decoy": false
      } ]
    }
  }, {
    "known": {
      "rowId": 1,
      "columnId": 0,
      "alternatives": [ {
        "value": "Haus",
        "markup": [ ],
        "decoy": false
      } ]
    },
    "unknown": {
      "rowId": 1,
      "columnId": 1,
      "alternatives": [ {
        "value": "House",
        "markup": [ ],
        "decoy": false
      } ]
    }
  } ],
  "difficult": [ {
    "known": {
      "rowId": 6,
      "columnId": 0,
      "alternatives": [ {
        "value": "der Unfall",
        "markup": [ ],
        "decoy": false
      } ]
    },
    "unknown": {
      "rowId": 6,
      "columnId": 1,
      "alternatives": [ {
        "value": "the accident",
        "markup": [ ],
        "decoy": false
      } ]
    }
  }, {
    "known": {
      "rowId": 2,
      "columnId": 0,
      "alternatives": [ {
        "value": "der Führer",
        "markup": [ ],
        "decoy": false
      } ]
    },
    "unknown": {
      "rowId": 2,
      "columnId": 1,
      "alternatives": [ {
        "value": "the guide",
        "markup": [ ],
        "decoy": false
      } ]
    }
  } ]
}

Error responses

The following error situations are possible:

ID Response code Description
missing_drillable 400 (Bad request) No drillable is specified.
not_supported 400 (Bad request) Courses are not supported.
unknown_drillable 404 (Not found) The specified drillable is unknown.
not_authorized 403 (Forbidden) Caller is not authorized to access this drillable.