I agree it's broken. It's very old code by people no longer active with the project. Jump in on https://github.com/Elgg/Elgg/issues/3512 and maybe we can fix it.
Too bad that https://github.com/Elgg/Elgg/pull/8610 was buried with a promise of better RESTful future.
Maybe someone brave enough can reopen https://github.com/Elgg/Elgg/pull/8615. I really don't feel like revisiting the web services code after all the wasted effort.
Milos, not sure if you are aware of my hypeGraph https://github.com/hypejunction/hypegraph It might make your life a lot easier.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.