Method: FileboundClient::Endpoints::Files#file_comments

Defined in:
lib/filebound_client/endpoints/files.rb

#file_comments(file_id, query_params = nil) ⇒ Object

Returns the file comments for the supplied file key

Parameters:

  • file_id (int)

    the file key

  • query_params (Hash) (defaults to: nil)

    the additional query params to send in the request



71
72
73
# File 'lib/filebound_client/endpoints/files.rb', line 71

def file_comments(file_id, query_params = nil)
  get("/files/#{file_id}/comments", query_params)
end