Creates an annotation
Parameters
| Param | Type | Details |
|---|---|---|
| annotation | string | The type of collaboration annotation to delete. Valid values are:- |
| platform | string | The name of the platform. |
| data | object | The data object for creating the required annotation. |
Returns
| HttpPromise | Returns a promise which will resolve depending on the response from the API. |
Example
CollaborationService.post('comment', 'platform', data);
Method for returning the event emitted when a comment is added
Parameters
The comment target.
The topic associated to the comment.
The collection associated to the comment.
Returns
The event name that will be emitted.
Example
CollaborationService.getCommentAddedEventName(target, collection, topic);