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

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

Update

Page history last edited by Monica Wilkinson 11 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.