cancel
Showing results for 
Search instead for 
Did you mean: 

RESTful API for getting discussions on documents

manuelalvarez
Champ in-the-making
Champ in-the-making
Hi All,

In a Forum Space, I can use the following web script to get posts on a topic: <blockquote>http://alfresco:8080/alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts"</blockquote>

However when I use this web script and pass the {store_id}/{id} of a document that has a discussion, the web script replies that there are no posts, even if the document has many posts.

How can I get the posts on documents and on spaces that aren't type "Forum"? 

Kind regards,

Manuel.-
2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator
A document 's discusion is saved as child associations to the document node.
As far as I know there is no existing web scripts that handle multiple parent-childern relationship except the implied one.CMIS dose not support it either.
So I guess you can't get the posts on documents and on spaces that aren't type "Forum" except you develop your custom web script

Thank you for your comment.  Can you recommend anyone we can hire to develop a webscript to read posts, write posts, delete posts on document discussions?