The API does support a full config replace from a remote repository using the copy_config operation of the NETCONF service:
https://goo.gl/AA2rI4
Note that the NETCONF server needs to support that functionality and advertise the capabilities appropriately for your client to work.