Topic on Talk:Notifications

API "index" property doesn't work

3
Enterprisey (talkcontribs)

The API documentation (Notifications/API) claims I can pass in a value of "index" for the "notprop" parameter, but when I try, it says that "index" is an invalid value. Is the documentation wrong, or has the feature been removed, or what?

Legoktm (talkcontribs)

The documentation is outdated, "index" was removed. What are you trying to do? There should be a functional equivalent :)

Enterprisey (talkcontribs)

Oh, good to know! I was trying to get the sentence-long summary for each notification, like ["Example left a message on your talk page", "Example2 thanked you for your edit on SomePage"], and nothing else. I thought notprop=list returned output that was too verbose, but I can parse it if it turns out there isn't a better way.

Reply to "API "index" property doesn't work"