GET store/random
Returns a single random drill from the Gallery. An attempt is made to match the selected drill with the user locale.
Resource URL
https://www.drillster.com/api/2.1.1/store/random
Response
A 2.1.1 Drillable object, containing the details of a random public drill.
Example request
GET https://www.drillster.com/api/2.1.1/store/random
Response
{
"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 | Response code | Description |
---|---|---|
no_public_drills |
500 (Internal error) | There are no public drills available |
Last updated on