Restore activity nodesTo restore a deleted entry to an activity, send a HTTP PUT request to the edit web address for the node defined in the trash feed. This moves the entry from the trash feed to the user's activity node list.
Note: Remove the <category scheme="http://www.ibm.com/xmlns/prod/sn/flags" term="deleted"/> flag element from the entry before restoring it.
See Authenticating requests for information about how to authenticate the request.
Table 1. Atom API request details
Method Resource URI Entry PUT activity node Value of the href attribute of the <link> element with the rel="edit" attribute for an activity node in the user's activity trash feed. activity node
Returned HTTP headers
- HTTP/1.1 204 No Content – Indicates that the activity node was successfully restored and no content is returned.
- HTTP/1.1 403 Forbidden – Error 403: Authorization Failed
- HTTP/1.1 404 Not Found
Parent topicWork with activity nodes
To-do item content