Page MenuHomePhabricator

Add filtering for unread notifications only to meta=notifications API
Closed, ResolvedPublic

Description

Something like &notfilter=!read to only list unread notifications.

Event Timeline

Catrope created this task.Nov 30 2015, 6:06 PM
Catrope updated the task description. (Show Details)
Catrope raised the priority of this task from to Needs Triage.
Catrope added a subscriber: Catrope.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 30 2015, 6:06 PM
Catrope triaged this task as High priority.Nov 30 2015, 6:25 PM
Catrope set Security to None.

Change 258162 had a related patch set uploaded (by Matthias Mullie):
Add filter to ApiEchoNotifications

https://gerrit.wikimedia.org/r/258162

Change 258162 merged by jenkins-bot:
Add filter to ApiEchoNotifications

https://gerrit.wikimedia.org/r/258162

Can be seen, e.g. https://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&meta=notifications&notformat=flyout. Add &notfilter=!read - the list will be filtered out for read notifications.

Catrope closed this task as Resolved.Jan 19 2016, 2:42 AM