Home

 

Updating media resources

To update a file uploaded to a blog, send an updated version of the file to the existing Media Resource's edit-media URI.

The types of files, and the maximum sizes of the files that can be uploaded to a blog is defined by the Blogs administrator. See the Administering Blogs section of the Lotus Connections information center for more details.

See Authenticating requests for information about how to authenticate the request.


Atom API request details

Method Resource URI Input representation
PUT media resource Value of the href attribute of the <link> element that has a rel="edit-media" attribute value for each entry in the media link entries feed. file

 

Input

Provide a data file. For example, you can replace an existing picture with a new picture by specifying a new JPEG file as the POST data. Also specify the content type of the file. For example, if the file has a JPEG extension, specify the content type as follows:

 

Output

None. Returned HTTP Headers

Error codes


Working with media resources

 

Related reference


Retrieving a media resource

Media link content


+

Search Tips   |   Advanced Search