GET group/…
Retrieves the details of a specific group.
Resource URL
https://www.drillster.com/api/2.1.1/group/{group_id}
Parameters
Field | Type | Description |
---|---|---|
group_id mandatory |
String | The group's unique key. |
Response
A 2.1.1 Group object, containing the details of the group.
Example request
GET https://www.drillster.com/api/2.1.1/group/mRdhqCfGQMOAlnN3SIlwvQ-2
Response
{
"id": "mRdhqCfGQMOAlnN3SIlwvQ-2",
"name": "Test group",
"description": "This is a test",
"counts": {
"members": 1,
"drillables": 1,
"tests": 3
},
"icon": {
"type": "image/png",
"url": "https://www.drillster.com/img/icon-groups.png"
},
"created": "2015-07-21T16:48:08Z",
"lastEdited": "2015-07-21T16:48:08Z"
}
Error responses
The following error situations are possible:
ID | Response code | Description |
---|---|---|
unauthenticated |
401 (Unauthorized) | User does not have permission to perform this action. |
Last updated on