Simple Queue output (old API) changed structure
Posted: May 8th, 2017, 11:57 am
I'm not sure this should be in Bug Reports, so I apologize if it shouldn't. Anyway...
The API was changed significantly with release 2.0.0, but according to the wiki, the old queue API (or "Simple Queue output") should still be available, to be deprecated in version 2.1.0 and eventually phased out one day. Despite this, while running version 2.0.0 and invoking the queue API with the "api?mode=qstatus", the JSON response doesn't include the "jobs" element and the "state" information is replaced by "status". Is this something that could be fixed, while third parties implement the new API system, or is intentional and I am missing something about the whole API switch?
Thanks in advance.
The API was changed significantly with release 2.0.0, but according to the wiki, the old queue API (or "Simple Queue output") should still be available, to be deprecated in version 2.1.0 and eventually phased out one day. Despite this, while running version 2.0.0 and invoking the queue API with the "api?mode=qstatus", the JSON response doesn't include the "jobs" element and the "state" information is replaced by "status". Is this something that could be fixed, while third parties implement the new API system, or is intentional and I am missing something about the whole API switch?
Thanks in advance.