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.
All existing activity entry information will be replaced with the new data. To avoid deleting existing data, retrieve any data that you want to retain first, and send it back with this request. See Retrieving activity nodes
for more information.
The types of activity nodes that you use to create entries changed from version 1.0.x. For example, in 1.0.x, to create an entry that included a bookmark or file, you posted an entry node of type bookmark or of type file. In version 2.0, to create an entry that includes a bookmark or file, post an entry node of type entry and include a field of the appropriate type, link or file respectively, in that entry. For backwards compatibility, you can continue to retrieve information from entries created based on node types defined in version 1.0.x. However, some of the node types are no longer part of the 2.0 Atom APIs; you can no longer update entries based on the bookmark, file, or message node types using the 2.0 APIs. For more information about the node types that were supported in 1.0.x, go to the following external web site:
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|PUT||activity node||Value of the href attribute of the <link> element that has a rel="edit" attribute for the associated node in the activity node list.||activity node|
Provide a revised activity node type Atom entry document.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the activity node was successfully updated.Error codes
Parent topic: Working with activity nodes
Changing entry types
Retrieving activity nodes
To-do item content
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found