Arguments
user_id
token
Response
types — array of supported "Things" types
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/thingtypes?user_id=161&token=ebbf23afc227a20a2979818653fff75b
Response (JSON):
{
"icons":[{
"name":"GEO",
"type":"geo"
},
{
"name":"Data",
"type":"data"
},
{
"name":"Switch",
"type":"switch"
},
{
"name":"Alert",
"type":"alert"
},
{
"name":"Stream",
"type":"stream"
},
{
"name":"Level",
"type":"level"
},
{
"name":"Yandex Weather",
"type":"yweather"
},
{
"name":"Yandex Pressure",
"type":"ypressure"
},
{
"name":"Level Button",
"type":"level_button"
},
{
"name":"Message",
"type":"message"
}],
"status":"success"
}