upload comment - GeoSmartCity-CIP/crowd-sourcing GitHub Wiki

Upload Comment

Submitted comments can be commented by other users. The comment can be uploaded using URL event/comment/$(UUID), i.e. event identification is part of URL. The comment itself is passed as POST data. The following attributes are included:

{
   "text": "A new comment",
   "datetime": "2016-03-07T20:46:05Z"
}

Note that element user must be part of the submitted data if authentication is required.