HabitRPG/habitica

API Documentation for /notifications/read is incomplete

Open

#14,484 opened on Feb 3, 2023

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

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