Drive > Files > File/Directory

Notify mentioned users

Notify users mentioned in a file (OnlyOffice or native comment)

post/2/drive/{drive_id}/files/{file_id}/notify

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Request body

commentstring required
link_codestring required
link_type'comment' | 'onlyoffice' required
user_idsinteger[] required

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": [
    {
      "id": 1000,
      "message": "error_already_exist"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.