Device Groups

Returns the name, description, and list of devices in a device group.

GET
/m2m/v1/groups/{aname}/name/{gname}

When HTTP status is 202, a URL will be returned in the Location header of the form /groups/{aname}/name/{gname}/?next={token}. This URL can be used to request the next set of groups.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Path Parameters

aname*string

Account name.

gname*string

Group name.

Query Parameters

next?integer

Continue the previous query from the pageUrl pagetoken.

Formatint64

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/m2m/v1/groups/0252012345-00001/name/string"
{  "name": "Nebraska Trucks",  "description": "All service trucks in Nebraska.",  "hasMoreData": false,  "devices": [    {      "deviceIds": [        {          "id": "12345",          "kind": "meid"        },        {          "id": "54321",          "kind": "mdn"        }      ]    }  ]}