Jump to content

Talk:Flow/Architecture/API

About this board

Previous discussion was archived at Talk:Flow/Architecture/API/Archive 2014 on 2019-01-23.

API call to return the number of unread messages and alerts

1
Summary by Revansx

nevermind.. I was looking for

https://www.mediawiki.org/wiki/Notifications/API

and the solution I was looking for is:

action=query&meta=notifications
Revansx (talkcontribs)

Hello, can someone help me figure out how to craft a URL to the api.php page that returns the current number of unread flow messages and alerts for the current user?

I've tried:

https://mysite/mediawiki/wikiI_id/api.php?action=query&list=flow&format=json

but it returns the error:

{"batchcomplete":"","warnings":{"main":{"*":"Unrecognized parameter: MEZAWIKI."},"query":{"*":"Unrecognized value for parameter \"list\": flow."}}}
There are no older topics