2.11. NewsΒΆ
The “news” resource provides a list of interesting and recent activities in the WoTKit.
URL | http://wotkit.sensetecnic.com/api/v1/news |
Privacy | Public |
Format | n/a |
Method | GET |
Returns | 200 OK if successful. A JSON object in the response body containing a list of news items. |
example
curl "http://wotkit.sensetecnic.com/api/v1/news"
Output:
[{
'timestamp': 1370910428123,
'title': u'The sensor "Light Sensor" has updated data.',
'url': u'/sensors/5/monitor'
},{
'timestamp': 1370910428855,
'title': u'The sensor "api-data-test-1" has updated data.',
'url': u'/sensors/40/monitor'
}]