Update activities 

To update an activity, send a replacement Atom Entry document containing the modified activity to the existing activity's edit URI.

All existing activity information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. For example, if you want to add a new tag to an activity, retrieve the existing tags and other data, and send it all back with the new tag in the update request. See Retrieve activities for more information.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input representation
PUT activity Value of the href attribute of <link> that has a rel="edit" attribute value for an activity in the user's overview feed. activity


Input


Provide an activity entry Atom entry document. The content type of the Atom entry document must be application/atom+xml.


Output

None.

Returned HTTP headers

HTTP/1.1 200 OK

Error codes


Parent topic

Work with activities programmatically

Related reference
Retrieve activities
Activity content


   

 

});

+

Search Tips   |   Advanced Search