GET store/related
Returns a list of publicly available drills that are related to a given drill.
Resource URL
https://www.drillster.com/api/2.1.1/store/related/{drill_id}
Parameters
Field | Description |
---|---|
drillId required |
Unique identifier of the drill to use as a basis for the search. Example value: eSxMA4MISaCjJA43PgMEnQ |
Response
A 2.1.1 Drillables object, containing the total number of drills that were found (total
),
and a list of 2.1.1 Drillable objects (drills
).
Example request
GET https://www.drillster.com/api/2.1.1/store/related/eSxMA4MISaCjJA43PgMEnQ
Response
{
"total": 1,
"drills": [ {
"id": "05SphFmaY6-snZz9JA2agg",
"name": "15 years of solitude",
"subject": "English",
"type": "DRILL",
"size": 67,
"description": "Vocabulary exercise",
"icon": {
"type": "image/png",
"url": "https://www.drillster.com/bin/drillable-icon/05SphFmaY6-snZz9JA2agg.3Yzv"
},
"version": "3Yzv"
} ]
}
Error responses
The following error situations are possible:
ID | Description |
---|---|
error |
An undefined error has occurred. |
Last updated on