HistoryWrite through REST API
https://skysparkserver/api/projectname/hisWrite
Content-Type text/plain
Body:
ver:"2.0" id:@pointId
ts,val
2017-05-02T20:58:00+10:00 Sydney, NA
2017-05-02T20:58:00+10:00 Sydney, 5 kWh
添加/修改一个tag并赋值commit(diff(pointRef, {tag: value}))
list all projects
https://localhost/api/siteId/eval?expr=projs() 此命令需要su权限
或者可以使用haystackDiscover(), 此命令需要enable Haystack extension