{
"items": [
{
"id": "http://example.org/2",
"actor": {"displayName":"Joe"},
"verb": "post",
"object": [
"objectType": "note",
"content": "this is my reply",
"inReplyTo": [
{"id": "http://example.org/1"}
]
]
},
{
"id": "http://example.org/1",
"actor": {"displayName":"Sally"},
"verb": "post",
"object": [
"objectType": "note",
"content": "this is sally's note"
]
},
}
]
}
This reduces the complexity of the overall structure and allows for a
more efficient streaming model, but puts the burden on the consuming
end to reconstruct the structure of the conversation.
Either approach is valid and has their relative pros and cons. There
are other possible ways of constructing it also.
- James
> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/activity-streams/-/uThOu3NI0DUJ.
> To post to this group, send email to activity...@googlegroups.com.
> To unsubscribe from this group, send email to
> activity-strea...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/activity-streams?hl=en.