Community articleUpdating Community Events settings
Added by IBM contributorIBM on March 14, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

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.
Tags: commapi


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.

Input

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.

Output

An Atom entry document of Community Events definition content.
Input
Method URI Description
PUT /communities/calendar/atom/calendar 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.
Content Type: application/atom+xml
Name Type Optional Description
calendarUuid
string No The uuid of calendar instance that you want to query about. This is a mandatory parameter.
Output
Content Type: application/atom+xml
Code Description
200
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.
403
Forbidden.
404
Not Found.