Page MenuHomePhabricator

include index for arrays in JSON output
Closed, ResolvedPublic


as it is now, when specifying JSON output, it will for arrays generate "hashes",
but the keys for those entries, are only to be found inside actual object (like
pageid for example). I propose when specifying JSON output, for all arrays, add
a index array for all those keys ('index': [ ... ],).

Version: 1.9.x
Severity: enhancement
OS: Linux
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:40 PM
bzimport set Reference to bz9121.
bzimport added a subscriber: Unknown Object (MLST).

I am not sure I understood. Can you give an example?

  • added query parameter indexpageids to list the page ids of all returned page items (bug 9121)