Skip to content

Latest commit

 

History

History
214 lines (183 loc) · 4.24 KB

printers.md

File metadata and controls

214 lines (183 loc) · 4.24 KB

List of Campus Printer

GET /resoruces/printers.{format}

Description

This method returns a list of printer on campus

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1123 Enabled Yes
Service Name resources Service ID 229
Information Steward Institution of Analysis & Planning (IAP) Data Type CSV
Update Frequency When updated by pull request Cache Time 0 seconds

Notes

  • Usage won't increase if there is no data returned
  • This data is community curated on github
  • Any value can be null

Sources

Parameters

GET /resoruces/printers.{format}
Parameter Type Required Description
key filter yes Your API key
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /resoruces/printers.{format}

Response

Field Name Type Value Description
printer string Name of the printer
ad string Printers active directory id
server string Printer server name
comment string Additional comments on the printer
driver string Printer driver information
room string Printer's physical room location
faculty string Faculty the printer belongs to

Any value can be null

Output

JSON

{
  "meta":{
    "requests":147,
    "timestamp":1382027585,
    "status":200,
    "message":"Request successful",
    "method_id":1123,
    "version":2.07,
    "method":{
      
    }
  },
  "data":[
    {
      "printer":"deancopy",
      "ad":"CN=AHSCOSERV-deancopy;CN=ahscoserv;OU=AHSCO;OU=GROUPS;OU=AHS;OU=Domain Member Servers;DC=NEXUS;DC=UWATERLOO;DC=CA",
      "server":"AHSCOSERV",
      "comment":"Redeployed June 12; 2012",
      "driver":"Xerox Global Print Driver PCL",
      "room":"3rd Floor",
      "faculty":"AHS"
    },
    {
      "printer":"hsgprt2IP",
      "ad":"CN=AHSCOSERV-hsgprt2IP;CN=ahscoserv;OU=AHSCO;OU=GROUPS;OU=AHS;OU=Domain Member Servers;DC=NEXUS;DC=UWATERLOO;DC=CA",
      "server":"AHSCOSERV",
      "comment":"-",
      "driver":"HP LaserJet 4250 PS",
      "room":"HSG Grad",
      "faculty":"AHS"
    },
    {
      "printer":"recprt2IP",
      "ad":"CN=AHSCOSERV-recprt2IP;CN=ahscoserv;OU=AHSCO;OU=GROUPS;OU=AHS;OU=Domain Member Servers;DC=NEXUS;DC=UWATERLOO;DC=CA",
      "server":"AHSCOSERV",
      "comment":"Created June 4; 2010",
      "driver":"HP LaserJet 4250 PS",
      "room":"RLS Grad",
      "faculty":"AHS"
    },
    {
      "printer":"p_arts-mps-admin",
      "ad":"CN=NXSARTSAPP-p_arts-mps-admin;CN=NXSARTSAPP;OU=Psych has permissions;OU=Arts;OU=Domain Member Servers;DC=NEXUS;DC=UWATERLOO;DC=CA",
      "server":"NXSARTSAPP",
      "comment":"Master of Public Service - Admin Printer",
      "driver":"Xerox GPD PS V2.1",
      "room":"180 King",
      "faculty":"Arts"
    }
  ]
}