Can we add userdefined APIs in appium

hi all,
my question is that
can we add more functionality to appium like in json wired protocol
if yes then where we can add those functionality i mean in which folder


You’d need to make changes to at least 2 components: a client (eg, java-client, wd.js, etc) and the appium server. On the Appium side, I recommend putting a breakpoint in something like lib::controller::launchApp and stepping through the code. Unfortunately, the code is not well documented, so that’s really the best way to get a handle on things. Feel free to ask questions on the appium-developers list.!forum/appium-developers