Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2736

API - Printer Supplies (with code)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • Professional Edition
    • API
    • None

    Description

      I've taken the API's 'sensors' code, and amended it to pull out printer supplies.

       

      I've attached an updated index.php and new printersupplies.inc.php. 

      The files attached are from observium/html/api/v0/ and observium/html/api/v0/includes/ 

       

      This allows API calls like /api/v0/printersupplies/?device_id=592 and /api/v0/printersupplies/ to be made. 

       

      Attachments

        1. index.php
          1 kB
          Steven Robson
        2. printersupplies.inc.php
          1 kB
          Steven Robson

        Activity

          People

            adama Adam Armstrong
            stevenr Steven Robson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: