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
23
votes
2 answers

Google Cloud Endpoints with Google Cloud Functions

I was not able to find documentation about how to connect GCF with Google Cloud Endpoints. As I understand Google Cloud Endpoints can be configured to access internal cloud resources. It is not clear how to use load balancer with Endpoints service…
23
votes
5 answers

How do I restrict Google App Engine Endpoints API access to only my Android applications?

I am an Android developer building my first Google App Engine (java) back-end for my apps. I don't want anybody else to access this API other than my app. (I plan to use App engine for verifying InApp purchases in my Android app). My data is not…
Kakatiyudu
  • 531
  • 5
  • 10
22
votes
5 answers

Facebook login in Google Cloud Endpoints

Can someone explain steps to implement login process with other OAuth2 providers This link Google Cloud Endpoints with another oAuth2 provider gives little info about writing custom authentication, but I guess for beginner like me that's not enough,…
user1831986
  • 583
  • 1
  • 8
  • 16
22
votes
3 answers

How do I protect my API that was built using Google Cloud Endpoints?

The API is a backend to a mobile app. I don't need user authentication. I simply need a way to secure access to this API. Currently, my backend is exposed. The documentation seems to only talk about user authentication and authorization, which is…
21
votes
2 answers

Gmail REST API : 400 Bad Request + Failed Precondition

I'm trying to send mails based on Gmail REST API using google java api services. I have configured through Google Develover Console an application client and downloaded p12 and json files. I have used this sample programs,…
Azimuts
  • 1,212
  • 4
  • 16
  • 35
21
votes
1 answer

This API does not support parsing form-encoded input

I tried to submit data to an endpoint but it said the data size was too large, so I changed the method to POST and received the error: This API does not support parsing form-encoded input. Next I changed the type to application/json, still with…
Shaun
  • 1,581
  • 2
  • 16
  • 35
20
votes
3 answers

REST API in Google App Engine + Python?

How create a RESTful API using Google App Engine with Python? I've tried using Cloud Endpoints, but the documentation does not focus on a RESTful API. Is there something similar to django-tastypie for GAE?
TeknasVaruas
  • 1,480
  • 3
  • 15
  • 28
20
votes
6 answers

GAE cloud endpoints - Api not updating after deploy

I'm starting to use cloud endpoints in my GAE project but have been running into issues with the api not updating on the server. localhost:8888/_ah/api/explorer is ok. But when I deploy, nothing changes. myapp.appspot.com:8888/_ah/api/explorer…
jrmerz
  • 698
  • 1
  • 10
  • 24
19
votes
3 answers

"cannot find symbol method setBatchPath(String)" in the generated source from generated endpoint

For an unknown reason, when I tried to build my Google App Engine endpoints, I get these errors in all of the API java files generated by Android Studio: Error:(400, 5) error: method does not override or implement a method from a…
19
votes
4 answers

How to import gRPC empty and Google api annotations proto

I am trying to use Google Cloud Endpoints to make a gRPC based api that can transcode incoming REST requests. I am following their example code but I can not any documentation on how to properly import and compile with the annotation.proto or the…
19
votes
4 answers

Google Cloud Endpoints with another oAuth2 provider

Is there a way to use another OAuth2 provider with Google Cloud Endpoints? I mean for example, get authentication from Facebook and use it the same way we use Google Account Auth (using gapi js and putting User class on @ApiMethod)
19
votes
3 answers

How to enable CORS with Cloud Endpoints?

Is there a slick way to enable CORS with the Cloud Endpoints? (Adding "Access-Control-Allow-Origin: *" or something like this to the response) Thanks, Brandon
Brandon
  • 2,034
  • 20
  • 25
17
votes
2 answers

How to set a custom header in Google Cloud Endpoints Javascript Client?

I can fetch a list of blog posts from Google Cloud Endpoints using the Javascript Client: gapi.client.blog.posts.list().execute(function (resp) { console.log(resp); }); But I need to set a custom header value in the Google Cloud Endpoints request…
Korneel
  • 1,487
  • 14
  • 40
17
votes
11 answers

Cannot access API explorer on localhost

I'm trying to build an Endpoints application, but am new to Google App Engine. As I understand it, there's some kind of API Explorer included in the SDK that should let me test/verify my API -- the docs say: "Test the API backend in the Google APIs…
c roald
  • 1,984
  • 1
  • 20
  • 30
16
votes
4 answers

Objectify with Cloud Endpoints

I am using appengine cloud endpoints and objectify. I have previously deployed these endpoints before and now I am updating them and it is not working with Objectify. I have moved to a new machine and running latest appengine 1.8.6. Have tried…
Patrick Jackson
  • 18,766
  • 22
  • 81
  • 141