URLs
POST api/v1/comments.xml (or .json)
CREATE a comment.
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
ContentId |
Guid? |
Either both ContentId and ContentTypeId or ContentUrl are required |
否 |
||
ContentTypeId |
Guid? |
Either both ContentId and ContentTypeId or ContentUrl are required |
否 |
||
ContentUrl |
string |
Either ContentUrl or both ContentId and ContentTypeId are required. ContentUrl requires authentication using OAuth. |
否 |
||
ParentCommentId |
Guid? |
CommentId of the parent if replying to a comment |
否 |
||
Url |
string |
Optional explicit location of this comment |
否 |
||
Body |
string |
Body of the comment |
是 |
||
CommentTypeId |
Guid? |
Categorization type |
否 |
||
IsApproved |
bool? |
Approved status of the comment |
否 |
||
ExtendedAttributes |
RestExtendedAttributes |
Extended Attributes |
否 |
||
CreatedDate |
DateTime? |
Date and time the comment was created. The current time will be used if not specified. |
否 |