Hey Nick, My apologies, your original note was stuck in the moderation
queue. I just pushed it through...
There are a couple of ways to look at this issue... (a) you can view
the status updates as verbs themselves, or (b) you can view the status
as an object.
For (a), you can do as you suggest: "actor" = the person, "verb" =
"available|unavailable" .. etc...
{
"actor": {...},
"verb": "online"
}
For (b), you can use the "update" verb with an object that describes
the status...
{
"actor": { ... },
"verb": "update",
"object": {
"objectType": "status",
"status": "online"
}
}
There are valid arguments for either approach, the best thing is to
just pick the one that works best for your case. Personally, I'd go
with option (b) because it provides a great deal more flexibility...
such as placing additional metadata in the status object..
- James
> --
> 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?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>