GET group/…/tests

Retrieves all tests defined for a specific group.

Resource URL

https://www.drillster.com/api/2/group/{group_id}/tests

Parameters

Field Type Description
group_id
required
String The ID for the group.

Example value: nYrK9udUc-UGvRS2kxaPtaB-0wzeHAJzM6vlL1te6wI

Response

A 2.0 Group object, populated with its test definitions.

Example request

GET https://www.drillster.com/api/2/group/nYrK9udUc-UGvRS2kxaPtaB-0wzeHAJzM6vlL1te6wI/tests

Response

{
  "id": "nYrK9udUc-UGvRS2kxaPtaB-0wzeHAJzM6vlL1te6wI",
  "name": "European geography",
  "description": "Learn the countries and capitals of Europe",
  "tests": [ {
    "id": "BOR_04dNRNa_hGCL09UtyA",
    "title": "Diagnostic Test"
  }, {
    "id": "tOsrtOKrSiigIMQQi7Rbmw",
    "title": "Final Test"
  } ]
}

Error responses

The following error situations are possible:

ID Description
group_not_found Could not retrieve group details.
no_group_access You are not allowed to access the details of this group.