Web service API

How to use PageSeeder's Web service API

edit comment

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

com.pageseeder.comment.EditComment

This service is deprecated since version 5.7900

Description

Edit comment.

Deprecation warning!

This service has been deprecated, please use service /members/{member}/comments/{commentid} [PATCH] instead.

 

Parameters

NameDescriptionRequiredTypeDefault value
assignedto the assigned member for task - status/previous status must be set no string
attachmentgroup the group to get the attachments to register from (only used if draft is set from false to true) no string
authoremail the email of the author (manager only or draft from non-member) no string
authorname the name of the author (manager only or draft from non-member) no string
content the content of the comment no string
contenttype the content type of the comment no string
created the creation date of the comment in ISO-8601 e.g. 2010-10-25T12:26:00+10:00 (manager only) no datetime
draft whether the comment is a draft no boolean
due the task due date format is ISO-8601 - status/previous status must be set e.g. 2010-10-25, 2010-10-25T12:26 (defaults to T18:00) no datetime
fragment the URI fragment to move this comment to (only applies to uri parameter) no string default
group the name of the group to move this comment to no string
groups the groups the comment should belong to (comma-separated list of names) no string
labels comma-separated list of labels no string
moderated if true the comment is to be moderated  no boolean
movereplies if true any replies will also be moved (if a manager groups will be added to replies) no boolean true
notify the notification behavior no notification silent
priority the priority for task e.g. 'High', 'Medium', 'Low' - status/previous status must be set no string
properties pipe-separated list of properties (e.g. x=1|y=2|) no string
reply the comment ID to make this comment a reply to no long
status the status for task e.g. 'Open', 'Resolved', 'Closed' no string
title the title of the comment no string
type the type of comment no string
uri the URI ID to move this comment to no long
uris the attachments to this comment (comma-separated list of URI IDs with optional !fragments) no string
url the URL with optional #fragment to move this comment to no url
urls the attachments to this comment (comma-separated list of urls with optional #fragments) no string

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error handling

CodeCause / Description
0x1002 Invalid email address
0x1303 Only one of uri, url, group or replyto can be specified
0x1304 The URL is invalid
0x1305 The URL does not match a GroupURI
0x1306 The Group is invalid
0x1307 The assigned to member is invalid
0x1308 The due date is invalid
0x1309 The comment is archived
0x1311 The object specified is not a comment
0x1317 The replyto comment was not found
0x1318 URI not found
0x1324 Comment can't be a reply to itself
0x6301 If the group has no general discussion
0x6303 Failed to edit comment
0x6306 The replyto comment has no context URI

Created on , last edited on