Last modified: 2013-07-25 07:04:57 UTC
It seems we can set the protection level with action=stabilize, but there does not seem to be any way to read the current protection level via the API. This could be added to action=query&prop=flagged, or a separate prop could be added. Or it could be added to action=query&prop=info&inprop=protection with other protection information, but I don't think there's a hook for that at this time.
This should probably wait till the code fork.
What fork? Has the fork already happened?
Twinkle on enwiki would love to consume this data. All it takes is a join onto `flaggedpage_config` to get the `fpc_level` and `fpc_expiry` fields, in api/reports/ApiQueryFlagged.php. If only I could code it myself.
Gerrit change #47216
Change 47216 merged by Anomie: (bug 24068) Add protection level to ApiQueryFlagged https://gerrit.wikimedia.org/r/47216