Web service API

How to use PageSeeder's Web service API

unarchive comment

/members/{member}/comments/{commentid}/unarchive [POST]

com.pageseeder.comment.UnarchiveComment

Description

Unarchive comment

Unarchive an archived comment.

Parameters

No parameters required.

Permission

Undocumented permissions requirements.

Response

<comment-unarchive>
   <comment id="123"
            contentrole="Comment"
            created="2012-03-08T12:34:00+10:00"
           [status="Open"]
           [due="2012-03-10T18:00:00+10:00"]
           [priority="High"]
           [moderated="true"]>
       <title>Cavern stolen!</title>
       <author email="alibaba@fortythieves.com.au"> ... </author>
       <assignedto id="123"
                   date="2012-03-09T..."> ... </assignedto>
       <modifiedby id="456"
                   date="2012-03-09T..."> ... </modifiedby>
       <content id="789"
                type="text/plain">Sesame opened the door</content>
       <attachment>
         <uri id="189">...</uri>
       </attachment>
       <attachment fragment="5">
         <uri id="289">...</uri>
       </attachment>
    </comment>
</comment-unarchive>

Error Handling

CodeCause / Description
0x1310 The comment is not archived
0x1311 The object specified is not a comment
0x6305 Failed to unarchive comment

Created on , last edited on