Jump to content

Talk:Flow/Architecture/API

Add topic
From mediawiki.org

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

API call to return the number of unread messages and alerts

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


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."}}} Revansx (talk) 16:40, 23 April 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.