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.
This request returns the entire activity, not just a summary of the activity. You can use this operation to obtain activity information that you want to preserve prior to performing an update.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|GET||activity||Value of the href attribute of the <link> element that has a rel="edit" attribute value for the activity in the user's My Activities feed.||activity|
An activity Atom entry document
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the activity was successfully found and returned.Content-Type: application/atom+xml
Indicates that the returned request contains data in Atom format.Error codes
Parent topic: Working with activities programmatically
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found