diff --git a/index.html b/index.html index 48666e4..a6d8ae3 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,8 @@ document.addEventListener("DOMContentLoaded", function(){hljs.initHighlightingOn
mute the given host, if it is not already muted
the hostname of the host to mute
optional, an object containing any of the following
function(err, res)
var dogapi = require("dogapi"); +var options = { + api_key: "api_key", + app_key: "app_key" +}; +dogapi.initialize(options); +dogapi.host.mute("my.host.name", function(err, res){ + console.dir(res); +}); +
unmute the given host, if it is not already unmuted
the hostname of the host to unmute
var dogapi = require("dogapi"); +var options = { + api_key: "api_key", + app_key: "app_key" +}; +dogapi.initialize(options); +dogapi.host.unmute("my.host.name", function(err, res){ + console.dir(res); +}); +