Arunabh Das
Arunabh Das

Reputation: 14352

How do I browse and discover the REST APIs exposed by Cloud Endpoints after deploy

How do I discover the apis exposed by Cloud Endpoints when I deploy my project to google app engine, to say myapp.appspot.com

Upvotes: 2

Views: 2131

Answers (2)

Lars Christoffersen
Lars Christoffersen

Reputation: 1739

An other great testing method is the following, which can be used both at the deployed API and the one running on you local host: https://developers.google.com/apis-explorer/?base=https://yourAppName.appspot.com/_ah/api#p/yourAPIName/v1/

Remember to change the "base = https://..." to http://localhost:8888.... (or whatever port you are using) when using it on localhost and you must ofcourse replace yourAppName and yourAPIName with the correct entries for your project

Upvotes: 1

Dan Holevoet
Dan Holevoet

Reputation: 9183

The easiest way is to look at the APIs Explorer: https://myapp.appspot.com/_ah/api/explorer, which will list the APIs served by your application (including the discovery API itself). You can experiment with the APIs in the Explorer as well.

Upvotes: 2

Related Questions