Pinning a folder programmatically 

To pin a folder, send a POST request to the myfavorites feed.

Table 1. Atom API request details

Method URI Input and output representations
POST /basic/api/myfavorites/collections/feed Collection Atom document

You can provide the following parameter.

Table 2. Input parameter

Parameter Description
itemId String. Uuid that uniquely identifies the folder. The uuid is defined in the <td:uuid> element in the Atom entry document of the folder.
filesAddedNotification String. Indicates whether the collection should be added to notification at the same time. WHAT DOES THAT MEAN? Options are on and off. The default value is on.


Input

Provide either an Atom document representing the collection as input to the request or identify the folder by providing the itemId parameter on the request.


Output

None.

Returned HTTP headers

HTTP/1.1 204 No Content

Error codes


Parent topic

Work with pinned folders


   

 

});