Drive > Files > File/Directory > Comment

Add a comment to a file.

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

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/files/{file_id}/comments
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

Request body

bodystring required

Response

Created

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

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

    • warning

      added the new forbidden_error enum value to the // response property for the response status

    • info

      added the non-success response with the status