To pin a file, send a POST request to the myfavorites feed.
Table 1. Atom API request details
Input and output representations
File Atom document
You can provide the following parameter.
Table 2. Input parameter
String. Uuid that uniquely identifies the document. The uuid is defined in the <td:uuid> element in the Atom entry document of the file.
You must provide either an Atom document representing the file as input to the request or you must identify the file by providing the itemId parameter on the request.
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the versions were successfully removed from the collection.Error codes
Parent topic: Working with pinned files
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 403 Forbidden
- HTTP/1.1 404 Not Found