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 Retrieving activities
for more information.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
Value of the href attribute of <link> that has a rel="edit" attribute value for an activity in the user's overview feed.
Provide an activity entry Atom entry document. The content type of the Atom entry document must be application/atom+xml.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the activity was successfully updated.Error codes
Parent topic: Working with activities programmatically
- HTTP/1.1 403 Forbidden – Error 403: Authorization Failed
- HTTP/1.1 404 Not Found