Home
Updating a file collection
Update the Atom document representation of the file collection.
This method replaces the existing Atom document for the file collection. For information about how to first retrieve the Atom document for the collection that you want to update, see Retrieving a file collection.
You must authenticate this request.
Atom API request details
Method URI Output representation Description PUT Construct the URI using the following syntax: /basic/api/collection/{collection-id}/entry collection Atom document Updates the Atom document for the file collection.
{collection-id} is the value of the <td:uuid> element in the collection's Atom entry document.
Input
An updated Atom entry document for the file collection. The content type must be specified as application/atom+xml.
Output
Atom entry document with the changes made to the file collection. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the file collection entry was successfully updated. If an error occurs, this header will contain one of the error codes below.
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference