creates a new comment and returns it
http://company_alias.goplanapp.com/project_alias/api/comments/create - pass the other parameters by POST
http://company_alias.goplanapp.com/project_alias/api/comments/create?&comment;[commentable_type]=task&comment;[commentable_cid]=6&comment;[text]=Let us discuss the development methodologies to use in this project
http://company_alias.goplanapp.com/project_alias/api/comments/create?format=json&callback;=handlerfunction&comment;[commentable_type]=task&comment;[commentable_cid]=6&comment;[text]=Let us discuss the development methodologies to use in this project
XML
<?xml version="1.0" encoding="UTF-8"?>
<comment>
<author-id type="integer">1</author-id>
<created-at type="datetime">2009/06/02 16:47:44 +0100</created-at>
<id type="integer">49</id>
<text>Let us discuss the development methodologies to use in this project</text>
<updated-at type="datetime">2009/06/02 16:47:44 +0100</updated-at>
</comment>
JSON
{"comment": {"updated_at": "2009/07/13 16:47:44 +0100", "text": "Let us discuss the development methodologies to use in this project", "id": 49, "author_id": 1, "created_at": "2009/06/02 16:47:44 +0100"}}
updates a comment and returns it
http://company_alias.goplanapp.com/project_alias/api/comments/update - pass the other parameters by POST
http://company_alias.goplanapp.com/project_alias/api/comments/update?id=49&comment;[text]=Let us discuss the development methodologies to use in this project and also the milestones.
http://company_alias.goplanapp.com/project_alias/api/comments/update?id=49&format;=json&callback;=handlerfunction&comment;[text]=Let us discuss the development methodologies to use in this project and also the milestones.
XML
<?xml version="1.0" encoding="UTF-8"?>
<comment>
<author-id type="integer">1</author-id>
<created-at type="datetime">2009/06/02 16:47:44 +0100</created-at>
<id type="integer">49</id>
<text>Let us discuss the development methodologies to use in this project and also the milestones.</text>
<updated-at type="datetime">2009/06/02 17:47:44 +0100</updated-at>
</comment>
JSON
{"comment": {"updated_at": "2009/07/13 16:47:44 +0100", "text": "Let us discuss the development methodologies to use in this project and also the milestones.", "id": 49, "author_id": 1, "created_at": "2009/06/02 16:47:44 +0100"}}
deletes a comment and returns it
http://company_alias.goplanapp.com/project_alias/api/comments/destroy - pass the other parameters by POST
http://company_alias.goplanapp.com/project_alias/api/comments/destroy?id=49
http://company_alias.goplanapp.com/project_alias/api/comments/update?id=49&format;=json
XML
<?xml version="1.0" encoding="UTF-8"?>
<comment>
<author-id type="integer">1</author-id>
<created-at type="datetime">2009/06/02 16:47:44 +0100</created-at>
<id type="integer">49</id>
<text>Let us discuss the development methodologies to use in this project and also the milestones.</text>
<updated-at type="datetime">2009/06/02 17:47:44 +0100</updated-at>
</comment>
JSON
{"comment": {"updated_at": "2009/07/13 16:47:44 +0100", "text": "Let us discuss the development methodologies to use in this project and also the milestones.", "id": 49, "author_id": 1, "created_at": "2009/06/02 17:47:44 +0100"}}
Follow us on Twitter and Facebook. Talk to us and Get Satisfaction.
Goplan is a product of Reinhardt Media, Ltd. | Contact support | Terms of Service