Download Accessing QueueMetrics through its JSON interface
Transcript
Table of Contents 1. Document contents ...................................................................................................................................... 1 1.1. Revision history ................................................................................................................................ 1 2. What is JSON? ........................................................................................................................................... 2 2.1. Which functions does QueueMetrics export as JSON? ................................................................................... 2 2.2. Should I use JSON or XML-RPC? .......................................................................................................... 2 2.3. Example: accessing QueueMetrics from the command-line .............................................................................. 2 2.4. Example: accessing QueueMetrics from Ruby ............................................................................................. 3 3. The JSON Configuration API ........................................................................................................................... 4 3.1. General usage .................................................................................................................................. 4 3.2. Available editors ................................................................................................................................ 6 4. The JSON Reports API ................................................................................................................................. 8 4.1. Reports .......................................................................................................................................... 8 4.2. Authentication and agent information ...................................................................................................... 12 4.3. Quality Assessment (QA) ................................................................................................................... 15 4.4. Tasks ........................................................................................................................................... 20 4.5. System administration ....................................................................................................................... 22 A. A short list of REST/JSON libraries ................................................................................................................. 23 5. Appendix II: QueueMetrics data blocks .............................................................................................................. 24 5.1. Available blocks for QmStats ............................................................................................................... 24 5.2. Available blocks for QmRealtime ........................................................................................................... 26 iii