You would use ArcGIS Server's REST interface to do this. It's made for a custom workflow where you have the same offline database on multiple devices, but just want to create a single delta, store it somewhere, and then push it out to all the clients. There are no Runtime APIs to do this, as this is a workflow that is done at the backend.
Normally you'll use the standard sync workflow which will do all that work under the covers.