def METHOD_NAME(self, event):
    app.logger.info("- received created event - % s." % event.src_path)
    p = Path(event.src_path)
    kind = _get_path_kind(event.src_path)
    self.api_rest.put(
        "/storage/physical/" + kind,
        {
            "id": str(p),
            "path": str(p),
            "hyper": self.hostname,
            "kind": kind,
            "size": p.stat().st_size,
        },
    )