In the alfresco-js-api there is an example for retrieving the comments of a node:
this.alfrescoJsApi.core.childAssociationsApi.getComments(...
seems that it should be
this.alfrescoJsApi.core.commentsApi.getComments(
so we would have to use commentsApi instead of childAssociationApi throughout?
Greetings,
Martin