Some things you post will change the state of the server; like if you post {verb: “follow”, object: { id: “todd@example.com” }}, that will change your social graph on the server.
Or sending {verb: “post”, object: {objectType: “note”, content: “hello world” }} will create a new “note” object.
But posting {verb: “http://example.com/some-private-verb”, {objectType: “http://example.com/some-private-type”, attr1: “foo”, attr2: “bar” } might not do anything except make a new activity in your stream.
SO… is there a way, or a reason, to say “Hey, I understood this and acted on it” versus “I just stuck this in your stream but don’t know what to do with it.”
Also, on StatusNet we maintain different streams for different verbs (follow, fave, etc.) and that might be useful to define here, as well.
I agree it sounds rad! and looks like there’s a basic outline of Evan’s proposal here:
http://www.w3.org/community/activitypub/wiki/API
There’s another loose description of the primitive version we use on StatusNet here:
http://status.net/wiki/AtomPub
I think there are a couple of tricky bits.
Some things you post will change the state of the server; like if you post {verb: “follow”, object: { id: “todd@example.com” }}, that will change your social graph on the server.
Or sending {verb: “post”, object: {objectType: “note”, content: “hello world” }} will create a new “note” object.
But posting {verb: “http://example.com/some-private-verb”, {objectType: “http://example.com/some-private-type”, attr1: “foo”, attr2: “bar” } might not do anything except make a new activity in your stream.
SO… is there a way, or a reason, to say “Hey, I understood this and acted on it” versus “I just stuck this in your stream but don’t know what to do with it.”
Also, on StatusNet we maintain different streams for different verbs (follow, fave, etc.) and that might be useful to define here, as well.
How does this relate to ActivityStreams/ActivityPump from W3?