HabitRPG/habitica

API Documentation for /notifications/read is incomplete

Closed

#14,484 opened on Feb 3, 2023

View on GitHub
 (26 comments) (0 reactions) (1 assignee)JavaScript (3,912 forks)batch import
good first issuepriority: minorsection: API

Repository metrics

Stars
 (10,775 stars)
PR merge metrics
 (Avg merge 51d 20h) (3 merged PRs in 30d)

Description

The API documentation for "Mark multiple notifications as read" is inaccurate.

There is a required parameter in the request body, notificationIds, specifying what notifications to mark as read, which doesn't show up in apidoc as yet. We don't currently have a blanket API route to dismiss all notifs without listing them.

Contributor guide