Hey Pat,
I saw your previous note but I have to apologize, I've been tied up
catching back up after taking vacation for a few weeks... some
responses inline below...
On Wed, Jan 8, 2014 at 12:16 PM, cappelaere <
cappe...@gmail.com> wrote:
> James, Matt,
>
> Actions are of high interest for us at NASA.
> The proposed spec is very interesting. I have a few questions regarding the
> POST action.
> It is well defined for a GET (with template).
> But for a POST, it seems under-defined. We need to know what security
> protocol may be required...
You're right.. the "under-defined" is actually intentional until we
(as a community) have a much better idea of what the overall
requirements will be...
> Post parameters may be required or optional
> Parameters may show up in the url path (as defined in the template), in the
> query section or at some location in the body.
Just to make sure, did you see the HtmlForm and Parameters objects
defined in the AS Actions draft? [1] and [2]
[1]
http://tools.ietf.org/html/draft-snell-activitystreams-actions-02#section-7
[2]
http://tools.ietf.org/html/draft-snell-activitystreams-actions-02#section-9
You can use a UrlTemplate and HtmlForm together if necessary, and the
Parameters object has a "required" property.
What's not clearly defined yet, however, are non-HTML form inputs.
That'll be something we need to look at eventually.
> The Google API discovery API defines that very well.
> Could it be possible to enhance “actions” and be compatible with that
> current implementation or are you thinking about doing something else?
We intentionally designed actions to be very openly extensible. It
would be very possible to bring the Google API discovery approach
together with this. Technically, it just a matter of embedding the
json into the action handler. I definitely encourage experimentation
in this area and would gladly help where I can.
- James
> Many thanks,
> Pat,
> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
activity-strea...@googlegroups.com.
> To post to this group, send email to
activity...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/activity-streams.
> For more options, visit
https://groups.google.com/groups/opt_out.