When using this API in an IBM SmartCloud
™ for Social Business environment, note that certain differences might exist. For more information, see Activities API
in the IBM Social Business Development wiki.
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
|PUT||activity||Value of the href attribute of <link rel="edit"> element of an activity in the user's Activity Trash feed.||activity|
Returned HTTP headers
- HTTP/1.1 204 No Content – Indicates that the activity was successfully restored and no content is returned.
Parent topic: Working with activities programmatically
- HTTP/1.1 403 Forbidden – Error 403: Authorization Failed
- HTTP/1.1 404 Not Found