Export It 1.3.1 Documentation

REST Server API: get_comment

Returns a comment for the given parameters

Resource URL

http://example.com/?ACT=<ACT>&key=<key>&method=get_comment&format=xml&comment_id=70

Parameters

A comment_id must be provided

comment_id optional The id of the comment you would like to return comments from

Example Request

http://example.com/?ACT=<ACT>&key=<key>&method=get_comments&entry_id=74&format=xml

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<Comments>
    <comment>
        <comment_id>70</comment_id>
        <site_id>1</site_id>
        <entry_id>12</entry_id>
        <channel_id>9</channel_id>
        <author_id>1</author_id>
        <status><![CDATA[o]]></status>
        <name><![CDATA[Eric Lamb]]></name>
        <email><![CDATA[eric@mithra62.com]]></email>
        <url><![CDATA[http://blog.ericlamb.net]]></url>
        <location><![CDATA[Sherman Oaks, California]]></location>
        <ip_address><![CDATA[76.172.57.23]]></ip_address>
        <comment_date>1321833168</comment_date>
        <edit_date>0</edit_date>
        <comment><![CDATA[Oh man, that keeps getting missed when I update the docs. The Auto Prune Threshold is in bytes. ]]></comment>
        <title><![CDATA[Configuration]]></title>
        <channel_title><![CDATA[Documentation]]></channel_title>
        <channel_name><![CDATA[docs]]></channel_name>
    </comment>
 
</Comments>
I am flagging this documentation as:

Need Free Developer Support?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">