I have an android app talking to my Google cloud endpoints backend.
In one of the endpoint methods I'm spinning off a "task" pushed to the queue.
The task is handled by another endpoint method e.g. "/taskendpoint/doSomeWork"
I've secured this endpoint method(that handles the task functionality) by limiting access to "/_ah/spi/taskendpoint/*" to "admin users" only as has been advised here - https://developers.google.com/appengine/docs/java/taskqueue/overview-push#Java_Securing_URLs_for_tasks
I've checked that from the browser and everything works as expected allowing only admin-users to access the url.
However, the another problem now is that the same task endpoint and methods are visible in the Google endpoint API explorer in the browser and anyone can enter values here and play around with the task methods. How do I make this method invisible in the API explorer as this method is needed only by the task ?
Also, although my app uses OAuth authentication but it is for authenticating android clients and in this case it is only an endpoint method calling another endpoint method via the task.
I couldn't find a lot of documentation around this, so I'd appreciate any help
@Apiportion at the top that looks likeclientIds = {com.google.api.server.spi.Constant.API_EXPLORER_CLIENT_ID, your_android_client_id}. Remove the api explorer item. - willlma