Notification Resourceยถ

Mark Read Notificationsยถ

HTTP Request

POST /api/notifications/{id}/read

๐Ÿ“‹ Description: Marks a specific notification as read, updating its status in the system to enhance user engagement and streamline notification management. This operation ensures that users can efficiently track their interactions with notifications.

Parameters

Name

In

Type

Required

Description

id

path

string

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Get Notificationsยถ

HTTP Request

GET /api/notifications/{userName}

๐Ÿ“‹ Description: Fetches notifications for the specified user, enabling timely access to important updates and alerts relevant to their account.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

page

query

integer(int32)

false

Page number for pagination

size

query

integer(int32)

false

Number of items per page

Default Valuesยถ

Parameter

Default

Type

page

0

query

size

10

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageNotificationDTO

Get Mobile Notificationsยถ

HTTP Request

GET /api/notifications/{userName}/for-mobile

๐Ÿ“‹ Description: Fetches mobile notifications for the specified user, enabling timely access to important updates and alerts.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

page

query

integer(int32)

false

Page number for pagination

size

query

integer(int32)

false

Number of items per page

Default Valuesยถ

Parameter

Default

Type

page

0

query

size

10

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageNotificationDTO

Get Unread Mobile Notification Countยถ

HTTP Request

GET /api/notifications/{userName}/for-mobile/count

๐Ÿ“‹ Description: Retrieves the count of unread notifications for the specified user, enabling mobile users to quickly assess their notification status and prioritize their responses.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

ยป additionalProperties

integer(int64)

false

none

none

Get Notification Countยถ

HTTP Request

GET /api/notifications/{userName}/count

๐Ÿ“‹ Description: Retrieves the total count of notifications for the specified user, enabling efficient monitoring of user engagement and communication within the platform.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

unread

query

boolean

false

Indicates whether to count only unread notifications for the specified user, enabling targeted insights into user engagement.

Default Valuesยถ

Parameter

Default

Type

unread

false

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

ยป additionalProperties

integer(int64)

false

none

none

Delete Notificationsยถ

HTTP Request

DELETE /api/notifications/{userName}/all

๐Ÿ“‹ Description: Deletes all notifications for the specified user, streamlining their notification management and enhancing user experience.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Delete Notificationยถ

HTTP Request

DELETE /api/notifications/{id}

๐Ÿ“‹ Description: Deletes a specific notification identified by its unique ID, ensuring the removal of outdated or irrelevant information from the notification system.

Parameters

Name

In

Type

Required

Description

id

path

string

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

204

No Content

No Content

None