public. Edit the specified comment
Input: Content-type=text/plain
Output:
<comment id="{int}" href="{uri}"> <page.parent id="{uri}" href="{uri}"> <title>{text}</title> <path>{text}</path> </page.parent> <user.createdby id="{int}" href="{uri}"> <nick>{text}</nick> <username>{text}</username> <email>{text}</email> </user.createdby> <date.posted>{date}</date.posted> <title>{text}</title> <number>{int}</number> <content type="{mimetype}" href="{uri}">{text}</content> <user.editedby id="{int}" href="{uri}"> <nick>{text}</nick> <username>{text}</username> <email>{text}</email> </user.editedby> <date.edited>{date}</date.edited> </comment>
Use POST:pages/{pageid}/comments to create a new comment.
Copyright © 2011 MindTouch, Inc. Powered by
Viewing Details:
Table of contents
Overview
public. Edit the specified comment
Uri Parameters
Query Parameters
Return Codes
Message Format
Input:
Content-type=text/plain
Output:
<comment id="{int}" href="{uri}"> <page.parent id="{uri}" href="{uri}"> <title>{text}</title> <path>{text}</path> </page.parent> <user.createdby id="{int}" href="{uri}"> <nick>{text}</nick> <username>{text}</username> <email>{text}</email> </user.createdby> <date.posted>{date}</date.posted> <title>{text}</title> <number>{int}</number> <content type="{mimetype}" href="{uri}">{text}</content> <user.editedby id="{int}" href="{uri}"> <nick>{text}</nick> <username>{text}</username> <email>{text}</email> </user.editedby> <date.edited>{date}</date.edited> </comment>Implementation Notes
Use POST:pages/{pageid}/comments to create a new comment.
Code Samples
C# Samples
Curl Samples
PHP Samples
Other Code Samples