To update a Community Events widget, send a replacement Community Events definition content entry document in Atom format to the existing Community Events's edit web address.
All existing Community Events setting information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. See Retrieving Community Events settings for more information.
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 a rel="edit" attribute value for each entry that represents a Community Events widget in the Community Events settings feed.
Atom entry document of Community Events definition content
Update the settings of a Community Events widget.
This request requires authentication.
An Atom entry document containing the updated Atom document for the Community Events widget setting. The content type must be specified as application/atom+xml.
An Atom entry document of Community Events definition content.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the Community Events widget was successfully found and returned. If an error occurs, this header will contain one of the error codes below.Content-Type: application/atom+xml
Indicates that the document returned contains data in Atom format.Error codes
Parent topic: Working with Community Events settings
Community Events definition content
- HTTP/1.1 403 Forbidden
- HTTP/1.1 404 Not Found