Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3008)

Unified Diff: appengine/isolate/handlers_endpoints_v1.py

Issue 2991303002: Add in OAuth authentication to Isolate Polymer UI (Closed)
Patch Set: Fix GET request for server_details Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/isolate/ui/build/elements.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/isolate/handlers_endpoints_v1.py
diff --git a/appengine/isolate/handlers_endpoints_v1.py b/appengine/isolate/handlers_endpoints_v1.py
index 085dcf7396116e13153bd73c48971579260162ce..20a409afd405ce3936b998f49482693671aa8444 100644
--- a/appengine/isolate/handlers_endpoints_v1.py
+++ b/appengine/isolate/handlers_endpoints_v1.py
@@ -316,7 +316,10 @@ class IsolateService(remote.Service):
filename=key.id(),
expiration=DEFAULT_LINK_EXPIRATION))
- @auth.endpoints_method(message_types.VoidMessage, ServerDetails)
+ # TODO(kjlubick): Rework these APIs, the http_method part seems to break
+ # API explorer.
+ @auth.endpoints_method(message_types.VoidMessage, ServerDetails,
+ http_method='GET')
@auth.require(acl.isolate_readable)
def server_details(self, _request):
return ServerDetails(server_version=utils.get_app_version())
« no previous file with comments | « no previous file | appengine/isolate/ui/build/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698