Community articleWorking with file attachments programmatically
Added by IBM contributorIBM on June 23, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Using the Atom Publishing Protocol, also known as AtomPub, you can create, update, or delete attachments.



Using the Atom Publishing Protocol, also known as AtomPub, you can create, update, or delete attachments.
Adding a file attachment
Add a file attachment to a file in your library programmatically.

Retrieving a file attachment
Retrieve an Atom document representation of a file attachment from your library.

Downloading a file attachment
Download a file attachment from your library programmatically.

Deleting a file attachment
Removes a file attachment from a file. An attachment is also indirectly deleted when the file it is associated with is deleted.

Updating a file attachment
Update an attachment to a file in your file collection programmatically.