SD-224 : Implement REST API backend for Avatar upload