GET groups

GET Retrieves a list of all groups the calling user has access to.

Per group, only high-level information is returned. For more detailed information, use any of the following endpoints:

Resource URL

https://www.drillster.com/api/2/groups

Parameters

None.

Response

A list of 2.0 Group objects.

Example request

GET https://www.drillster.com/api/2/groups

Response

[ {
  "id" : "nYrK9udUc-UGvRS2kxaPtaB-0wzeHAJzM6vlL1te6wI",
  "name" : "European geography",
  "description" : "Learn the countries and capitals of Europe",
  "drills" : 12,
  "members" : 150
}, {    
  "id" : "OcPiC-pcH2MaO8Kpow3TlKB-0wzeHAJzM6vlL1te6wI",
  "name" : "Physics for starters",
  "description" : "Learn the important physics laws",
  "drills" : 10,
  "members" : 2
} ]

The type is used to differentiate drills from courses, and will be set to DRILL in all cases for this API call.