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
1
vote
1 answer

Google cloud endpoints HTTP 500 error on delete

Google cloud endpoints HTTP 500 error on delete I generated a Google Cloud Endpoint class which game me the standard CRUD methods including the delete method: public Member removeMember(@Named("id") Long id) { PersistenceManager mgr =…
1
vote
1 answer

Google Endpoints API custom hearder

a have a build a simple service based on the google endpoints API. All works fine but the Problem is the API is called from other hosts via backbone.js. So I have to allow "Access-Control-Allow-Origin: *" on server side. But a dont find any…
Stefan B.
  • 374
  • 3
  • 13
1
vote
1 answer

Using JPA2 to put data asynchronously to google datastore

I am using JPA2 @entity to represent my models. I need to put data asynchronously to the datastore. How would I do that? If a JPA Dao cannot do that, can I use AsyncDatastoreService on JPA entities -- instead of JPQL? Does anyone have an example? (I…
learner
  • 11,490
  • 26
  • 97
  • 169
1
vote
1 answer

EndpointsModel vs ndb.Model

So I stumbled on EndpointsModel as a means of creating models. When I look online, there is basically no tutorial about it. For people who have used it, what's the advantage? Instead of ndb.Model I mean. Edit: Also, I tried to mimic the code at What…
1
vote
1 answer

What is the best way to auth, identify and store delicate information about users?

With the purpose of learning about endpoints I'm building an app called "Where Are You?". The app lets users request the location of other users. The idea is that it does so by letting the user select a contact, lookup the contact by phone number in…
1
vote
2 answers

app-engine endpoint method taking user object

I have an endpoint method that requires a user object. Would I do the following? It seems a bit strange since I could get user using endpoints.get_current_user() @endpoints.method(FriendListRequest, FriendListResponse, …
1
vote
1 answer

Query endpoint user by email

I'm trying to make a method which will allow me to query an endpoint by a users email. Is there a better way to do so then what I'm doing below? One that only return one or zero records perhaps. @User.query_method(query_fields=('email',), …
1
vote
1 answer

Get id of inserted object

I'm defining an endpoint modeling a user as below. I can query a user by id. But how can I get that id when inserting the user? My client is written in java but I'd like to know how to retrive the id both with python as well as with the generated…
1
vote
0 answers

Serializing list of objects with flexjson

I am playing with flexjson and Google Cloud Endpoints. My model which I need to serialize is: public class SampleModel { Long id; DateTime createdAt; String message; OtherModel other; } I just created DateTimeObjectFactory to find a way of…
sennin
  • 8,552
  • 10
  • 32
  • 47
1
vote
2 answers

I can't get google cloud endpoints to work correctly, am I calling the correct public link?

The api is tagged: @Api(version = "v1", description = "API for interfacing with accounts", defaultVersion = AnnotationBoolean.TRUE) and one of the methods I want to call is: @ApiMethod(name = "account.register", path = "account", …
bodega
  • 1,005
  • 1
  • 9
  • 7
1
vote
1 answer

When creating a RESTful ContentProvider in Android, should the unique id in the SQLite database match the Key in the RESTful service?

I'm using Virgil Dobjanschi's Option B (from this talk: http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html) to implement a web service on my Android App to connect to a Google Cloud Endpoints RESTful service (hence,…
1
vote
0 answers

Google Cloud Endpoint API returns 500 error

I applied the answer found in HTTP code 302 encountered when deploying on Google App Engine Endpoints The 302 problem is gone, the API has become visible in the deployed application, but now I'm getting this error: { "error": { "errors": [ { …
Sailor Jerry
  • 201
  • 2
  • 8
1
vote
1 answer

Creating an App Engine Connected Android Project with Python

I find a seemingly simple app engine tutorial for creating an android app with a java backend. Does app engine have tutorials for using Python instead of Java? I have not been able to find one. Even if there is no simple python plugin as there is…
learner
  • 11,490
  • 26
  • 97
  • 169
1
vote
2 answers

Dart cannot access cloud endpoint API

It's frustrating and I'm stuck here for one week and no clue how to fix it ; ( Inspired by Gerwin Sturm's great work (https://github.com/Scarygami/gdg-endpoint-demo) and I like to build the java backend instead. But unfortunately, every time when…
Vincent Zhou
  • 503
  • 1
  • 6
  • 17
1
vote
0 answers

Endpoints API generation error when using Guava

We are using Appengine Endpoints Java with Guava and when Function is used inside an endpoint method the API generator returns an exception. Function is NOT part of the method signature. Its just used inside the method to transform a list. Comment…
kcaldas
  • 49
  • 6