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

How do you know if the current user is an admin with app engine cloud endpoints?

I know the endpoints module has a get_current_user function, but as far as I know, the user object has no property or method to find out if the user is an admin.
bigblind
  • 12,539
  • 14
  • 68
  • 123
1
vote
1 answer

Google Cloud Endpoint no result via JavaScript Client

I am hosting an GAE Application and try to get Google Clound Endpoints to work. Now everything is setup and tested with curl: curl http://localhost:8888/_ah/api/myendpoint/v1/queryData Returns exactly 1 item which is correct: { "items" : [ { …
1
vote
1 answer

selecting few properties from entity in endpoint point class

I am trying to modify a standard select query in my endpoint class to fetch selected fields from my entity. However even after changing the query, I see that my query result is fetching all the fields. The code is below, you can note that the query…
user1938357
  • 1,466
  • 3
  • 20
  • 33
1
vote
1 answer

Any way to view Secured Google App Engine endpoint in a browser (as a logged in user)

I'm very familiar with REST services and have just started with Google Endpoints. I have the following class: @Api( name = "events", version = "v1" ) public class EventEndpoint { @ApiMethod( name = "events.get.all", path = "get", …
sean christe
  • 879
  • 2
  • 7
  • 24
1
vote
1 answer

Making id case-insensitive but case-preserving in endpoints-proto-datastore

I'm trying to define a model whose id is case-insensitive but case-preserving, and the below nearly works: class MyModel(endpoints_ndb.EndpointsModel): _message_fields_schema = ('id', 'name') caseful_id = ndb.StringProperty(indexed=False) …
1
vote
1 answer

NoClassDefFoundError on generated client library - GAE cloud endpoints

I have 2 endpoints in my GAE Java project. When I use the GPE eclipse plugin to generate the client library for my Android project, the code is generated without any errors. (I don't know why the generated code is in the package…
Rahim
  • 918
  • 1
  • 12
  • 23
1
vote
2 answers

Google Cloud Endpoints files generated, server not working

I run endpoints.sh get-client-lib com.my.app.FooService and successfully generate the files for Google Cloud Endpoints[1] (2 .discovery files, 1 .api file and 1 .zip file). The script doesn't add anything to my war folder, so I assume server-side…
wiradikusuma
  • 1,930
  • 4
  • 28
  • 44
1
vote
0 answers

Google App Engine Endpoints through proxy: ServerDoesNotExistError

i have the following setup for my webapp and restful service (two devservers): - backend: google app engine (python) 1.8.0 using endpoints api (localhost:8080) - frontend: angularjs, using yeoman+grunt (localhost:9000) i want to keep these two…
Suau
  • 4,628
  • 22
  • 28
1
vote
1 answer

GAE -> Error: Number of API configs allowed on ... is 25

I'm creating an GAE application (Java) with Eclipse. Locally everything works, but if I try to deploy the application to the server, a GEA log shows following error: E 1970-01-16 21:33:26.331 Endpoints: …
1
vote
1 answer

EndPoints API authentification on GAE python with an Android client

I want my android apps will communicate with my app engine server. I want that only authenticated user (google users) can access my EndPoints Api and to be stored in appengine using PYTHON. Here there is an example using java…
1
vote
1 answer

Empty Package (model) in generated client jar

I have an app engine app that I want to expose its data to android app. I can test the endpoint's method just fine using curl/the explorer. However when I generated the android client using: endpointscfg.py get_client_lib java -o . -f rest…
1
vote
1 answer

Error when trying to retrieve a single entity

I've been playing around with Google Cloud Endpoints for the past few days (aiming to hook it up with AngularJS) and I ran into a bit of trouble when I try to retrieve a single entity from my datastore. My ndb model setup is: class…
Tiki
  • 105
  • 2
  • 7
1
vote
1 answer

Unable to see saved entities using cloud end point rest API

I have a gae project that uses cloud end points in Java which is a very simple CRUD application. I have some PUT requests that change the datastore entities and GET requests that retrieve them. I find the GET requests always do not return the…
Sathya
  • 1,076
  • 1
  • 8
  • 17
1
vote
2 answers

Google App Engine Connected Android (Eclipse) device endpoint error

I am just started exploring app engine with android (Java) and I followed a link to teach me how to create an App Engine Connected Android Project. https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae I followed exactly what…
1
vote
2 answers

java.security.AccessControlException: File accessible thru browser but not within same server

So to not repeat myself too much, please refer to serve static image along side java google-enpoint api. As you can see from the referenced link, I am able to view the image through the url. However, when I am trying to read filenames using similar…