Current section
Files
Jump to
Current section
Files
priv/docs/methods/files.comments.edit.json
{
"args": {
"comment": {
"desc": "Text of the comment to edit.",
"example": "Everyone should take a moment to read this file, seriously.",
"required": true
},
"file": {
"desc": "File containing the comment to edit.",
"example": "F1234567890",
"required": true
},
"id": {
"desc": "The comment to edit.",
"example": "Fc1234567890",
"required": true
}
},
"desc": "Edit an existing file comment.",
"errors": {
"cant_edit": "The requested file could not be found.",
"edit_window_closed": "The timeframe for editing the comment has expired.",
"file_deleted": "The requested file was previously deleted.",
"file_not_found": "The requested file could not be found.",
"no_comment": "The `comment` field was empty."
}
}