API Method: files.getComments

Description

Returns file comments specified by a date, user id, or file id


Authentication

This method requires authentication without user credentials.

Required parameters

  • start_date, user_id or file_id

Optional parameters

  • end_date :
    the end date if searching for comments in a specified range

Example response

<?xml version="1.0"?>
<response status="ok" time="Wed, 08 Apr 2009 09:51:53 -0500" p="0.13329291343689">
    <file_comments count="1">
        <file_comment>
            <item_0>
                <id>1</id>
                <modified><![CDATA[2009-03-27 11:30:00]]></modified>
                <fileId>2</fileId>
                <userId>3</userId>
                <rating>0</rating>
                <subject></subject>
                <comment><![CDATA[asdfasdfafds]]></comment>
            </item_0>
            <item_1>
                <id>2</id>
                <modified><![CDATA[2009-03-27 11:30:04]]></modified>
                <fileId>2</fileId>
                <userId>3</userId>
                <rating>0</rating>
                <subject></subject>
                <comment><![CDATA[asfdasfd]]></comment>
            </item_1>
        </file_comment>
    </file_comments>
</response>