Image
get
Param
Type
Default
Description
balena.models.image.get(123).then(function(image) {
console.log(image);
});getLogs
Param
Type
Description
Last updated
Was this helpful?
balena.models.image : object
Kind: static namespace
balena.models.image.get(id, [options]) ⇒ Promise
Kind: static method of image
Summary: Get a specific image
Access: public
Fulfil: Object - image
id
Number
image id
[options]
Object
{}
extra pine options to use
Example
balena.models.image.get(123).then(function(image) {
console.log(image);
});balena.models.image.getLogs(id) ⇒ Promise
Kind: static method of image
Summary: Get the logs for an image
Access: public
Fulfil: string | null - logs
id
Number
image id
Example
Last updated
Was this helpful?
Was this helpful?
balena.models.image.getLogs(123).then(function(logs) {
console.log(logs);
});