Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 698 Bytes

File metadata and controls

29 lines (18 loc) · 698 Bytes

Samples API

bulkUpsertSamples

bulkUpsertSamples(arr) => Promise

Insert or update an array of Samples asynchronously. If a sample's "value" attribute is not type string, converts it to string.

Param Type Description
arr Array The array of Samples to upsert.

Returns a Bluebird Promise which resolves to the status OK.

getSample

getSample(name) => Promise

Retrieve the specified Sample.

Param Type Description
name String The name of the Sample to retrieve.

Returns a Bluebird Promise which resolves to the specified Sample.