postDisplaypreferencesByDisplaypreferencesid
Updates a user's display preferences for an item
Requires authentication as user
postDisplaypreferencesByDisplaypreferencesid
Request
post /DisplayPreferences/{DisplayPreferencesId}
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*DisplayPreferencesId | path | DisplayPreferences Id |
||
*UserId | query | User Id |
||
*body | body | DisplayPreferences | DisplayPreferences: |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Operation successful. Empty response. |
||
400 | Bad Request. Server cannot process request. |
||
401 | Unauthorized. Client needs to authenticate. |
||
403 | Forbidden. No permission for the reqested operation. |
||
404 | Resource not found or unavailable. |
||
500 | Server error. |
Definitions
DisplayPreferences
Emby.Api.DisplayPreferences
Name | Type | Notes |
---|---|---|
Id | string | |
SortBy | string | |
CustomPrefs | object | |
SortOrder | SortOrder | Enum SortOrder |
Client | string |
SortOrder
Enum Values
- Ascending
- Descending