W3C home > Mailing lists > Public > public-socialweb@w3.org > November 2014

Activity Streams 1.0 basic schema verbs and object types supported by pump.io

From: Evan Prodromou <evan@prodromou.name>
Date: Mon, 03 Nov 2014 13:35:25 -0500
Message-ID: <5457CAED.3020806@prodromou.name>
To: "public-socialweb@w3.org" <public-socialweb@w3.org>
As most people know, the AS 1.0 spec only defines one verb, "post".

http://activitystrea.ms/specs/json/1.0/#post-verb 
<http://activitystrea.ms/specs/json/1.0/#post-verb>

Other verbs are defined in the "Base Schema", here:

https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md

I think we're all pretty well-agreed that only some subset of these 
verbs would be coming into AS 2.0.

To help with this decision, I added an action for myself to share the 
verbs supported internally by pump.io. They are:

  * *post *
  * *create* (synonym for "post")
  * *follow*
  * *stop-following*
  * *favorite *
  * *like* (synonym for "favorite")
  * *unfavorite *
  * *unlike *(synonym for "unfavorite")
  * *delete*
  * *update*
  * *add*
  * *remove*
  * *share*
  * *unshare*
  * *join*
  * *leave*

Of these, three are for CRUD on content ("post", "delete", and 
"update"), six are for social graph management ("follow" and 
"stop-following", "join" a group and "leave", "add" to and "remove" from 
a contact list), and four are for responses ("favorite" and 
"unfavorite", "share" and "unshare" -- posting a comment in-reply-to 
something is handled differently).

Note that pump.io will happily store, display and transmit activities 
with verbs that it doesn't recognize; it just uses these particular 
verbs to modify its internal state.

These are the object types supported internally by pump.io.

  * *application*
  * *audio*
  * *binary*
  * *collection*
  * *comment*
  * *file*
  * *group*
  * *image*
  * *note*
  * *person*
  * *place*
  * *video*

Again, these are the ones that are modified and managed internally. 
pump.io will happily store, display and transmit activities with 
subjects or objects with an objectType that it doesn't recognize.

I'm going to comb through some of the client apps to see if there are 
other verbs and objectTypes that show up on the pump network that aren't 
covered here. I know that ih8.it used "dislike" verb and also the "page" 
object type, for example.

-Evan
Received on Monday, 3 November 2014 18:35:49 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 December 2016 15:48:19 UTC