Uri
/services/maps/
Method
file.comment.add
Summary
Add a video comment to a file.
Arguments
| Parameter | Data Type | Notes |
| comment | alphanumeric | required if no type supplied |
| file | alphanumeric | required if type supplied |
| file_id | numeric | required |
| key | alphanumeric | required |
| session | alphanumeric | required |
| type | alphanumeric | optional |
Example response
<?xml version="1.0" encoding="iso-8859-1" ?> <response stat="success"> <file id="11152"> <comment id="66" created_date="2009-09-09T15:38:28"> <user> <username>andrew_campbell</username> <firstname>andrew</firstname> <secondname>campbell</secondname> </user> <type>text</type> <description>Here are my comments</description> </comment> <comment id="67" created_date="2009-09-09T15:38:29"> <user> <username>andrew_campbell</username> <firstname>andrew</firstname> <secondname>campbell</secondname> </user> <type>text</type> <description>Here are my comments</description> </comment> <comment id="68" created_date="2009-09-09T15:38:31"> <user> <username>andrew_campbell</username> <firstname>andrew</firstname> <secondname>campbell</secondname> </user> <type>video</type> <video id="11153" name="TSCU.flv" url="http://dev01.maps-ict.com/d/maps3/249857245/" size="6421858"/> </comment> </file> </response> |