Category Archives: Google App Engine

Google Cloud Endpoints Tips #6 : The @APIResourceProperty Annotation

In this tip, we are going to discuss the @APIResourceProperty annotation, which is a very handy annotation that you could use for your API. The documentation states “@ApiResourceProperty provides provides more control over how resource properties are exposed in the API. … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #5 : Using Cursor and Limit parameters

One of the design decisions that you need to take with your API is how much of data to return. This is especially important for the list*() methods in your Endpoints implementation. For e.g. if your API is dealing with … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine | 11 Comments

Google Cloud Endpoints Tips #4 : Understand @API and @APIMethod Annotations

Google Cloud Endpoints provides convenient Annotations in Java to mark which of your classes is the API and which methods are exposed as the API Methods. It does that via 2 convenient annotations: @API and @APIMethod. The key points to remember for these … Continue reading

Posted in AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #3 : Understand Injected Types

Typically, when you design your API and the associated methods, you do spend some time deciding what parameters will be passed for each API Method. It pays to know about Injected Types, which are parameters that are given a special … Continue reading

Posted in APIs, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #2 : Throw the Right Exception Classes

One of the hallmarks of a well-written API is to understand what it throws back to the clients when there is an exception. For e.g. a REST API should make use of the correct HTTP Status Codes in its response. … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tips #1: Check Endpoint Deployment Status

While deploying Cloud Endpoints to a live appspot.com domain, it is important to know if your endpoints deployed OK or not. The Logs Viewer of App Engine provides a good way for you to determine that. Do the following: Deploy … Continue reading

Posted in APIs, AppEngineTips, Cloud Computing, Google App Engine, Tips | 11 Comments

Google Cloud Endpoints Tutorial – Part 7

Welcome to Part 7 of the Google Cloud Endpoints Tutorial. The full series: Part 1 : We looked at writing a Google Cloud Endpoints class manually by using the various annotations and Exception classes that are available. We create a Quotes API that provided a JSON … Continue reading

Posted in Cloud Computing, Google App Engine | 10 Comments

Google Cloud Endpoints Tutorial – Part 6

Welcome to Part 6 of the Google Cloud Endpoints Tutorial. The full series: Part 1 : We looked at writing a Google Cloud Endpoints class manually by using the various annotations and Exception classes that are available. We create a Quotes API that provided a JSON … Continue reading

Posted in Cloud Computing, Google App Engine | Tagged | 18 Comments

Google Cloud Endpoints Tutorial – Part 5

Welcome to Part 5 of the Google Cloud Endpoints Tutorial. The full series: Part 1 : We looked at writing a Google Cloud Endpoints class manually by using the various annotations and Exception classes that are available. We create a Quotes API that provided a JSON … Continue reading

Posted in Cloud Computing, Google App Engine | Tagged | 7 Comments

Google Cloud Endpoints Tutorial – Part 4

Welcome to Part 4 of the Google Cloud Endpoints Tutorial. The full series: Part 1 : We looked at writing a Google Cloud Endpoints class manually by using the various annotations and Exception classes that are available. We create a Quotes API that provided a JSON … Continue reading

Posted in Cloud Computing, Google App Engine | Tagged | 8 Comments