Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dogapi

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dogapi - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

lib/api/screen.js

4

lib/api/dash.js

@@ -22,6 +22,6 @@ var util = require('util');

for(var i in dashboard['graphs']){
if(!dashboard['graphs']['title']){
if(!dashboard['graphs'][i]['title']){
throw new Error(util.format('`dashboard["graphs"][%s]["title"]` is missing', i));
}
if(!dashboard['graphs']['definition']){
if(!dashboard['graphs'][i]['definition']){
throw new Error(util.format('`dashboard["graphs"][%s]["definition"]` is missing', i));

@@ -28,0 +28,0 @@ }

@@ -6,2 +6,3 @@ var extend = require('extend');

var dash_api = require('./api/dash.js');
var screen_api = require('./api/screen.js');
var event_api = require('./api/event.js');

@@ -20,2 +21,3 @@ var tag_api = require('./api/tag.js');

dash_api.prototype,
screen_api.prototype,
event_api.prototype,

@@ -22,0 +24,0 @@ tag_api.prototype,

{
"name": "dogapi",
"version": "0.1.1",
"version": "0.1.2",
"description": "Datadog API Node.JS Client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -90,2 +90,12 @@ node-dogapi

* method to remove a dashboard from datadog
* `dogapi.get_screenboard(screen_id, [callback])`
* method to get a single screenboard information
* `dogapi.get_all_screenboards([callback])`
* method to retrieve all screenboards in datadog
* `dogapi.create_screenboard(screenboard, [callback])`
* method used to create a new screenboard in datadog
* `dogapi.update_screenboard(screen_id, screenboard, [callback])`
* method used to update the screenboard with the provided `screen_id`
* `dogapi.delete_screenboard(screen_id, [callback])`
* method to remove a screenboard from datadog
* `dogapi.search(query, [callback])`

@@ -92,0 +102,0 @@ * method used to query the api for `metrics` or `hosts`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc