API Method: files.editFile

Description

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


Authentication

This method requires authentication without user credentials.

Required parameters

  • user_id :
    The ID of the specified user

  • Optional parameters

    • file :
      this is the file itself which should be encapsulated as part of a multipart/form-data submission via an HTTP POST action. This parameter is required to upload a new file to the site in which case the file_id parameter is not passed in.
    • file_id :
      the id of the file to be changed
    • title :
      the title of the file
    • description :
      the description of the file
    • public :
      whether or not the file should be public, 1 for yes, 0 for no

    Example response

    <?xml version="1.0"?>
    <response status="ok" time="Wed, 08 Apr 2009 10:14:18 -0500" p="0.019853115081787">
        <files count="1">
            <file>
                <file_id>19</file_id>
            </file>
        </files>
    </response>