The system offers a RESTful API to interact with almost all aspects of services.
Query parameters:
location_id(int, optional): The id of the locationshort(string, optional): The short name of the location- Nothing: Returns info of all locations
Request body:
short(string, required): The short name of the locationname(string, required): The name of the locationdescription(string, optional): Description of the locationvisible(string, optional):true|falseto mark the location visible to the public
Request body:
location_id(int, required): The id of the locationshort(string, required): The short name of the locationname(string, required): The name of the locationdescription(string, optional): Description of the locationvisible(string, optional):true|falseto mark the location visible to the public
Request body:
location_id(int, required): The id of the location
Query parameters:
printer_id(int, optional): The id of the printerlocation(string, optional): The short name of the location- Nothing: Returns info of all printers
Request body:
ip(string, required): The IPv4 address of the printer
Request body:
name(string, required): The name of the printerbrand(string, required): The brand of the printer (hp|lanier)type(string, required): The type of the printer (truefor color,falsefor grayscale)model(string, optional): The model of the printerip(string, required): The IPv4 address of the printerlocation(string, required): The short name of the locationcomment(string, optional): A comment about the printervisible(string, optional):true|falseto mark the printer visible to the public
Request body:
printer_id(int, required): The id of the printername(string, required): The name of the printerbrand(string, required): The brand of the printer (hp|lanier)type(string, required): The type of the printer (truefor color,falsefor grayscale)model(string, optional): The model of the printerip(string, required): The IPv4 address of the printerlocation(string, required): The short name of the locationcomment(string, optional): A comment about the printervisible(string, optional):true|falseto mark the printer visible to the public
Request body:
printer_id(int, required): The id of the printer
Query parameters:
key(string, optional): The key of the setting- Nothing: Returns all settings
Request body:
key(string, required): The id of the settingvalue(string, required): The value of the setting
Request body:
reset(string, required):trueto reset settings to default
Query parameters:
user_id(int, optional): The id of the user- Nothing: Returns info of all users
Request body:
netid(string, required): The username of the username(string, required): The name of the usertype(string, required): The type of the user (superuser|user)password(string, required): Initial password for the user
Request body:
user_id(int, required): The id of the usernetid(string, required): The username of the username(string, required): The name of the usertype(string, required): The type of the user (superuser|user)password(string, optional): New password for the user
Request body:
user_id(int, required): The id of the user