api_call should handle json content type
update datamodel for replica share receiver
implement replicashare and receive trail API
sender shouldn't try to send dshare to receiver.
update receiver to be more resilient and update state every step.