openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodric Rabbah <>
Subject Allow actions to be accessible from a web browser
Date Thu, 12 Jan 2017 22:44:32 GMT
I just opened a pull request to allow actions to be accessible viaa  web
browser. Action invokes this way are anonymous in that the caller is not
authenticated. The intended action must be named in the path as a fully
qualified name as in
/experimental/web/some-namespace/some-package/some-action. The package is
optional in that the action may be in the default package. In which case,
the string "default" must be used.

If the action doesn't exist (or the namespace is not valid) a BadRequest is
generated. Optionally, the result form the action may be projected based on
a named property. As in
/experimental/web/some-namespace/some-package/some-action/some-property. If
the property
does not exist in the result then a BadRequest is generated. By convention,
the "html" property will attempt to respond with media type "text/html".

Actions may be exposed to this web proxy by adding an annotation ("export"
-> true).
Demo video

Feedback solicited and welcomed.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message