Arguments
user_id
token
Response
groups — an array of elements:
name — group name
description — group description
icon — group icon
things — the number of things attached to a group
status — Status of the response. Error or success.
message — Optional field. Transmitted only if status «Error» and contains a description of the «error».
Example: http://168.63.82.20/api/groups?user_id=161&token=ebbf23afc227a20a2979818653fff75b
Response (JSON):
{
"groups": [{
"name":"Group",
"description":"type of data",
"icon":"http:\/\/168.63.82.20\/images\/icon_measure.png",
"things":0
}],
"status":"success"
}