/sessions/currentUser/favourites/{targetId}/addFolder - Add a folder to a user's favorites
Adds a folder to a user's list of favorites. Folders organize the documents in a user's favorites.
End-point
POST | /sessions/currentUser/favourites/{targetId}/addFolder |
Path parameters
Field | Description |
---|---|
|
The ID for the location to add the new folder. |
Request body
Field | Type | Description |
---|---|---|
|
The current information about the user's favorites that is required to add the folder. |
Possible response
HTTP status | Description |
---|---|
200 |
The operation completed successfully |
401 |
There is no session or the session is invalid |
Response body
Field | Type | Description |
---|---|---|
|
The updated information for the new folder and favorites. |