Pinned topic Adding comments to assets via the RAM API
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Via the RAM UI, you can add comments to an asset on the Asset page after clicking "Collaboration" link in the left hand menu. Is there a RAM API that allows you to add a comment to an asset?
Updated on 2010-04-05T15:33:11Z at 2010-04-05T15:33:11Z by kbauer
Re: Adding comments to assets via the RAM API2010-04-05T03:47:34ZThis is the accepted answer. This is the accepted answer.Ok, but in the future I won't be using the client to add the comment. What API would I use in 184.108.40.206 to add a comment to an asset? Thanks.
Re: Adding comments to assets via the RAM API2010-04-05T13:41:58ZThis is the accepted answer. This is the accepted answer.
- ClemmieMC 2700032V2T
We have started creating REST API but the public REST API does not extend to comments in 220.127.116.11.
Re: Adding comments to assets via the RAM API2010-04-05T15:33:11ZThis is the accepted answer. This is the accepted answer.
- ddbaron 100000UGC7
//Get the current state history
RAMStateHistory stateHistory = newAsset.getCurrentStateHistory();
//Create a new comment
RAMComment comment = new RAMComment();
comment.setBody(“This asset looks great!”);
//Add comment to the asset