<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 9:21 AM, Jeff Pihach <span dir="ltr"><<a href="mailto:jeff.pihach@canonical.com" target="_blank">jeff.pihach@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The interesting part of these interactions vs the ones I've
seen mentioned is that they are client side actions. They would open a
new tab or the browser to display the page in question vs simply
executing some backend script.</blockquote></div><br>This does sound interesting - some way of coordinating activity on the client of the API and on the Unit while it's performing the Action.</div><div class="gmail_extra"><br></div><div class="gmail_extra">ISTM that features like this, for example OAuth token exchange, have historically required multi-phase steps, where the client initiates a request, the server responds with instructions to complete a third party step, the client performs the step and then submits another request with the resulting token, and maybe some other token to tie the second request to the first one?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'd love some ideas on how to best integrate this into an API for actions.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!</div><div class="gmail_extra"><br clear="all"><div>--<br>John Weldon</div>
</div></div>