To retrieve an entry template, use the templates link in the activity feed or the activity node list.
This request returns the entire entry template, not just a summary of it. You can use this operation to obtain information about an entry template 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
Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/templates" attribute in the activity feed or the activity node list of an activity.
An entry template Atom document
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the entry template 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 entry templates programmatically
Creating an activity node from a template
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found