How can we implement or update server-side code locally for testing?

I remember your other post as well, so I supected this is some sort of follows-up.

Now we are no longer in the testing but the development and analysis phase. So, sorry, it did not clean the isses (at least for me) completely.

What API are we talking about? Can you give a link/example/documentation/… of the API you have in mind?