google app engine - Cannot access API explorer on localhost -
i'm trying build endpoints application, new google app engine.
as understand it, there's kind of api explorer included in sdk should let me test/verify api -- docs say: "test api backend in google apis explorer navigating http://localhost:8080/_ah/api/explorer
". can't find documentation of api explorer is, does, or looks like.
in case, when try hit url, redirected https://developers.google.com/apis-explorer/?base=http://localhost:8080/_ah/api#p/, tells me nothing useful, , seems must error of kind.
the devappserver logs say:
info 2013-07-17 17:27:54,574 server.py:593] default: "get /_ah/api/explorer http/1.1" 302 - info 2013-07-17 17:27:56,099 server.py:593] default: "get /_ah/api/static/proxy.html?jsh=m%3b%2f_%2fscs%2fapps-static%2f_%2fjs%2fk%3doz.gapi.en.7juwnuxmas8.o%2fm%3d__features__%2fam%3deq%2frt%3dj%2fd%3d1%2frs%3daitrsto0dpks_pssf5r3z87e6flfvdgdog http/1.1" 200 1933 info 2013-07-17 17:27:56,193 server.py:593] default: "post /_ah/spi/backendservice.getapiconfigs http/1.1" 200 2342 info 2013-07-17 17:27:56,492 server.py:593] default: "get /_ah/api/discovery/v1/apis http/1.1" 200 576 info 2013-07-17 17:27:56,507 server.py:593] default: "post /_ah/spi/backendservice.getapiconfigs http/1.1" 200 2342 info 2013-07-17 17:27:56,583 server.py:593] default: "post /_ah/spi/backendservice.getapiconfigs http/1.1" 200 2342 info 2013-07-17 17:27:56,811 server.py:593] default: "get /_ah/api/discovery/v1/apis http/1.1" 200 576 info 2013-07-17 17:27:56,886 server.py:593] default: "get /_ah/api/discovery/v1/apis/scrnxsync/v1/rest http/1.1" 200 3365
for whatever that's worth.
here's app.yaml:
application: scrnx-cloud-1 version: 1 runtime: python27 api_version: 1 threadsafe: true handlers: - url: /admin/.* script: admin.application login: admin secure: # endpoints handler - url: /_ah/spi/.* script: sync_api.application # catchall - must come last - url: /.* script: default.application admin_console: pages: - name: view measurement url: /admin/measurement libraries: - name: jinja2 version: 2.6 - name: markupsafe version: 0.15 builtins: - admin_redirect: off - appstats: off - deferred: off - remote_api: on
is there else i'm supposed doing set up?
the url api explorer correct, there have been issues (apparently not resolved) api explorer doesn't correctly list apis.
as comparison of how should https://developers.google.com/apis-explorer/ api explorer google apis, far more apis host yourself, give idea of should see: list of apis , details each api once click on it.
a workaround worked explicitly add name , version of api url, since api called scrnxsync
version v1
link should show methods defined api, , allow call methods:
https://developers.google.com/apis-explorer/?base=http://localhost:8080/_ah/api#p/scrnxsync/v1/
Comments
Post a Comment