• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Finally, you can manage your Google Docs, uploads, and email attachments (plus Dropbox and Slack files) in one convenient place. Claim a free account, and in less than 2 minutes, Dokkio (from the makers of PBworks) can automatically organize your content for you.

View
 

Update

Page history last edited by Monica Wilkinson 10 years, 11 months ago

Description

The verb update should be used to describe that a property on a resource has changed. For example: Monica updated her street address to 234 Amazing St.

To be useful in data synchronization, an update activity should describe the name of the property which has changed and provide the new value inside the object construct.

When new items are added to an existing list the verb to use is post and a target is expected to denote the destination.

Spec section: http://activitystrea.ms/head/activity-schema.html#update

Properties

  • "change" should be added as a property to the activity construct. Change is an object which has 2 proprties:

URI

http://activitystrea.ms/schema/1.0/update 

Examples

{
"change" : 
  {"name" : "street address"},
  {"value" : "234 Amazing St"
}

OR

{
"change" : 
  {"name" : "street address"},
  {"value" : {"$ref": #object.streetAddress}
}

Notes

Other verbs to use for data synchronization are: post and delete

Implementations

Facebook is researching using the update verb to send real-time notifications of changes to profile data.

Others ?

Maintainers

Monica Wilkinson

Comments (0)

You don't have permission to comment on this page.