code: def get_last_modified_unix_sec():
      
      path = request.args.get("path")
      if path and os.path.isfile(path):
          try:
              last_modified = os.path.getmtime(path)
              return jsonify({"path": path, "last_modified_unix_sec": last_modified})
  
          except Exception as e:
              return client_error({"message": "%s" % e, "path": path})
  
      else:
          return client_error({"message": "File not found: %s" % path, "path": path})
docs: Get last modified unix time for a given file