Questions tagged [google-cloud-endpoints]

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily, and to generate strongly-typed client libraries for Java (Android) and Objective-C (iOS), and dynamically-typed libraries for JavaScript.

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily.

Features

  • Support for Java and Python runtimes
  • Built on Google's API infrastructure - it works with many of the same tools and libraries used for Google's own APIs, such as the APIs Explorer and APIs Console
  • Automatically-generated, statically-typed client libraries for Android and iOS - these libraries are using the same Google-authored Java and Objective-C libraries you would use to access other Google-provided APIs such as the Calendar API
  • Dynamically-typed JS client library - again, the same library you use to access other Google-provided APIs in JS, which is called Google JavaScript client library
  • Built in support for OAuth 2
  • Integration with the Google Plugin for Eclipse - this allows you to automatically create an API based on a model, or an App Engine application to back an existing Android app
  • Support for local development - you can build and test your API using the App Engine development environment, just as with other App Engine features

Learn More

Check out the Java and Python documentation for more details on using Endpoints.

2491 questions
9
votes
2 answers

CSRF on GAE Endpoints with oAuth

I'm looking to implement protections against CSRF attacks in my API, which I developed using GAE Endpoints with oAuth2 required for all methods. Before implementing any specific protection I'm trying to actually break my app (CSRF looked simple at…
9
votes
1 answer

GoogleAccountCredential name is null despite calling setSelectedAccountName (Android 6.0)

I've created an endpoint using a secured backend and have been using it since March on an app I'm building (source docs here). I recently installed the latest version to my Android 6.0 device and an odd error popped up (it works perfectly on 4.2.2…
9
votes
3 answers

Google Cloud Endpoints vs normal request handlers for small webapps?

I'm working on a small webapp in App Engine, using Angular for the frontend. I've looked through the documentation for Google Cloud Endpoints, but I'm having a hard time finding significant advantages over just writing normal handlers that return…
whereswalden
  • 4,819
  • 3
  • 27
  • 41
9
votes
4 answers

appengine endpoint Failed to retrieve API configs with status: 500

I run appengine local dev server in eclipse with params 0.0.0.0 When I try to access any of the methods I get the following error. I get the same error if I try to access api explorer http://localhost:8888/_ah/api/explorer Notes: I just updated my…
kasavbere
  • 5,873
  • 14
  • 49
  • 72
9
votes
3 answers

Android + App engine: user.getUserID() is null in endpoint

I have an Android application with GAE server. I tried to authenticate the user as described on developers.google.com, I added the user parameter to the endpoint methods etc. I get a User which is not null, but this method getUserId() returns null.…
9
votes
1 answer

Method interference in Google Cloud Endpoints with Google Eclipse Plugin

I am experiencing a strange behavior while generating endpoints using the Google Appengine Eclipse plugin. I have an endpoint class with over 20 endpoint methods. When I first tried generating the endpoints for android I get the error Generating…
learner
  • 11,490
  • 26
  • 97
  • 169
9
votes
3 answers

"Sessions" with Google Cloud Endpoints

This question is only to confirm that I'm clear about this concept. As far as I understand, Google Cloud Endpoints are kind of Google's implementation of REST services, so that they can't keep any "session" data in memory, therefore: Users must…
MikO
  • 18,243
  • 12
  • 77
  • 109
9
votes
3 answers

Make api explorer private

Is it possible to either turn off the api explorer completely or limit the access to it? I noticed some logs in my app that come from failed requests executed from a browser. My api is only consumed by an Android app so the only place where they can…
Gabriel Ittner
  • 1,162
  • 9
  • 22
9
votes
2 answers

Google Cloud Endpoints Security (OAuth2) and custom User schema

I'm reading the Google Cloud Endpoints docs related to OAuth2 Security. I assume this kind of security is against Google accounts. Is there any support to have a custom User schema to authenticate against? What I would like is to have client JS…
Marcel Overdijk
  • 11,041
  • 17
  • 71
  • 110
8
votes
2 answers

ESPv2 with Google Cloud Functions upstream request timeout

I'm having issue getting answers from a Google Coud Function going through ESPv2. Every time I request it, I get a response 15 seconds later with a status code of 504. My function take between 30 to 45 seconds. In the logs the functions correctly…
8
votes
2 answers

google cloud endpoints body array

We have a rest API that is written in Java (hosted in Wildfly). Our service is running in kubernetes (GKE). We want to leverage Cloud Endpoints to track usage and responsiveness of our API. The API is not new, we have been shipping software that…
8
votes
0 answers

Enforce Cache-Control in Google Cloud Endpoints

My endpoint method generates a different response for each invocation regardless of the parameter list. I often see my client call the endpoint with the same parameter list, and the front end instance returns a cached response. In the official…
mobilekid
  • 1,629
  • 5
  • 19
  • 27
8
votes
4 answers

How to upgrade appengine-java-sdk installed in .gradle folder

When I build my Android Studio project, it says : ******************************************************** There is a new version of the SDK available. ----------- Latest SDK: Release: 1.9.15 Timestamp: Tue Oct 21 21:33:59 EDT 2014 API versions:…
Arunabh Das
  • 13,212
  • 21
  • 86
  • 109
8
votes
1 answer

Google App Engine Cloud Endpoints userId is null

I am using a (little modified) workaround from this course, to fetch the userId, which is null if the request was sent from an Android client. /** * This is an ugly workaround for null userId for Android clients. * * @param user A User object…
raptor
  • 760
  • 7
  • 18
8
votes
2 answers

Recover deleted Google Public API Key

I accidentally deleted by Public API Key for Browser applications under my Google Developer Console. I have an iOS and Android app that are using this key. I don't have the source codes for the apps and they are live on the market. Is there a way to…