POST api/MediaItems/AppendToTray

Changing a list of favourite media items

Request Information

URI Parameters

None.

Body Parameters

Parameters of the batch operation

TrayData
NameDescriptionTypeAdditional information
Id

Media item ID

integer

None.

Append

Type of performed operation. If the value is True, the addition will be performed. Otherwise, the deletion will be performed.

boolean

None.

FavoritesId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "append": true,
  "favoritesId": 3
}

Response Information

Resource Description

Flag of successful operation

boolean

Response Formats

application/json, text/json

Sample:
true

Parameter Information

data

Parameters of the operation performed on the list of favorite media items

Property Description
Id (Int64)
Media item ID
Append (Boolean)
Type of performed operation. If the value is True, the addition will be performed. Otherwise, the deletion will be 
            performed.
FavoritesId (Int64)