public. Post a new comment to a page
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> </comment>
Use PUT:pages/{pageid}/comments/{commentnumber}/content to update an existing comment.
Viewing Details:
Table of contents
Overview
public. Post a new comment to a page
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> </comment>Implementation Notes
Use PUT:pages/{pageid}/comments/{commentnumber}/content to update an existing comment.
Code Samples
C# Code Samples
PHP Code Samples
Perl Code Samples
Other Code Samples
Retrieved from "http://developer.mindtouch.com/index.php?title=Deki/API_Reference/POST:pages%2F%2F%7Bpageid%7D%2F%2Fcomments"