User Preferences

User Preferences - Update User Preferences

HTTP Request

PUT /api/v1/user-preferences

📋 Description: Updates the user preferences for the authenticated user, allowing for personalized settings to enhance user experience and engagement.

Parameters

Name

In

Type

Required

Description

body

body

UserPreferencesDto

true

Request body containing user preference settings, including notification preferences, language selection, and theme customization options.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseUserPreferencesDto

User Preferences - Patch User Preferences

HTTP Request

PATCH /api/v1/user-preferences/{id}

📋 Description: Updates the user preferences for a specified user ID, allowing for customization of settings to enhance user experience and engagement.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

JsonPatch

true

Request body containing the updated user preference settings, including notification preferences and display options, to enhance user experience.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseUserPreferencesDto

User Preferences - Get By User ID

HTTP Request

GET /api/v1/user-preferences/{userId}

📋 Description: Retrieves user preferences for the specified user ID, allowing businesses to tailor experiences and services based on individual user settings.

Parameters

Name

In

Type

Required

Description

userId

path

integer(int64)

true

Unique identifier for the user

Responses

Status

Meaning

Description

Schema

200

OK

OK

UserPreferencesDto

User Preferences - Get Captionlanguage Locale

HTTP Request

GET /api/v1/user-preferences/caption-language-locale/{username}

📋 Description: Retrieves the caption language locale settings for a specified user, enabling personalized content accessibility and enhancing user experience.

Parameters

Name

In

Type

Required

Description

username

path

string

true

Specifies the username of the user for whom the caption language locale preferences are being retrieved.

Responses

Status

Meaning

Description

Schema

200

OK

OK

string