POST api/2.0/files/favorites This function requires authentication

Description

Adds files and folders with the IDs specified in the request to the favorite list.

Parameters
Name Description Type Example
fileIds
sent in body
List of file IDs Collection of strings
collection
some text
Example
POST api/2.0/files/favorites
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "fileIds": [
    "some text"
  ]
}
Returns

Bool value: true if the operation is successful