StatusCake.getTestsDetails()

Get detail information about a Test.

Usage

Hover over inputs/exits for more info.

var StatusCake = require('machinepack-statuscake');


// Get detail information about a Test.

StatusCake.getTestsDetails({

statusCakeUser: 'mcavoy',

apiKey: 'phae6aesa5ohgh1vov7aeM7Kaec2eeca',

id: 34567,

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// Invalid or unprovided API key or username. All calls must have a valid StatusCake API key and username.

wrongOrNotUser: function () {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

statusCakeUser required

The user ID of your StatusCake account,

'mcavoy'
apiKey required

Your StatusCake API key.

'phae6aesa5ohgh1vov7aeM7Kaec2eeca'
id required

ID of the StatusCake Test.

34567

Exits

error

An unexpected error occurred.

wrongOrNotUser

Invalid or unprovided API key or username. All calls must have a valid StatusCake API key and username.

success

OK.

{ Method: 'GET',
  TestID: 378573,
  TestType: 'HTTP',
  Paused: false,
  WebsiteName: 'node-statuscake test',
  URI: 'https://www.npmjs.com/package/statuscake',
  ContactGroup: null,
  ContactID: 0,
  Status: 'Up',
  Tags: [ 'devel' ],
  Uptime: 0,
  CheckRate: 86400,
  Timeout: 40,
  LogoImage: '',
  Confirmation: '3',
  WebsiteHost: '',
  NodeLocations: [ '' ],
  FindString: '',
  DoNotFind: false,
  LastTested: '2015-04-03 10:39:20',
  NextLocation: 'UNSET',
  Processing: false,
  ProcessingState: 'Complete',
  ProcessingOn: 'PL1',
  DownTimes: '0',
  Sensitive: false }