I'm developing a plugin for my Android app which uses WordPress rest API. I removed unwanted values from the response. Since it is not recommended to modify the response of end points, I need to clone them with new end points and remove the unwanted response from new end points
By doing this, default endpoints will be unchanged.
How can I do this? and also I need to authenticate my new end points with an API key.