Updates configuration and settings for a TagoCore instance.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const result = await resources.tagocores.edit("core-id-123", { name: "Production Core" });
console.log(result);
Optional
summary: booleanRetrieves detailed information about a specific TagoCore instance.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const coreInfo = await resources.tagocores.info("core-id-123", true);
console.log(coreInfo);
Optional
queryObj: TagoCoreQueryRetrieves a paginated list of all TagoCores from the application with filtering and sorting options.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const cores = await resources.tagocores.list({
page: 1,
fields: ["id", "name"],
amount: 20
});
console.log(cores);
Retrieves detailed information about a device connected to a Standalone TagoCore instance.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const deviceInfo = await resources.tagocores.standaloneDeviceInfo("core-id-123", "device-id-456");
console.log(deviceInfo);
Optional
queryObj: TRetrieves a list of all devices connected to a Standalone TagoCore instance.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const devices = await resources.tagocores.standaloneDeviceList("core-id-123", {
page: 1,
fields: ["id", "name", "last_input"],
amount: 20
});
console.log(devices);
Generates a new authentication token for a TagoCore instance.
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const token = await resources.tagocores.tokenGenerate("core-id-123");
console.log(token);
Description
Permanently removes a TagoCore instance and its configurations.
See
https://help.tago.io/portal/en/kb/articles/tagocore TagoCore
Example