GET group/…/drills/…

Returns a drillable (drill or course) in the group.

Resource URL

https://www.drillster.com/api/2.1.1/group/{group_id}/drills/{drillable_id}

Parameters

Field Type Description
group_id
required
String The ID of the group to be retrieved.

Example value: Ak_X20ACmESsTY72HU5IbU37I50Y9UO5_enbyfJYowc
drillable_id
optional
String The ID of the drill or course to be retrieved.

Example value: ebNWKpQtm8m3wZeQJMbDnA

Response

A 2.1.1 Drillable object.

Example request

GET https://www.drillster.com/api/2.1.1/group/Ak_X20ACmESsTY72HU5IbU37I50Y9UO5_enbyfJYowc/drills/ebNWKpQtm8m3wZeQJMbDnA

Response

{
  "id": "ebNWKpQtm8m3wZeQJMbDnA",
  "type": "DRILL",
  "name": "Anger Management",
  "subject": "Psycho Therapy",
  "description": "Anger management is a psycho-therapeutic program for anger prevention and control",
  "icon": {
    "type": "image/png",
    "url": "https://www.drillster.com/bin/attachment/b439eef7a629f8f645a8c1409d9257f25bef057b"
  }
}

Error responses

The following error situations are possible:

ID Response code Description
invalid_group_id 400 (Bad request) Given group ID is not valid
not_authenticated 401 (Not Authorized) User is not autheticated
not_permitted 403 (Forbidden) No access to group
not_found 404 (Not found) Requested resource not found