System configuration
Find system configuration
Get a list of system configurations.
const response = await geocore.SystemConfiguration.find({
host: "host",
page: 1,
limit: 20,
});
Prerequisites
Successfully get the IdToken with systemOwner access level from login API.
Parameters
name type data type description host optional string Host name page optional number Page ordinal number, default is 1 limit optional number Number of records per page, default is 20
Create system configuration
Create a new system configuration.
const response = await geocore.SystemConfiguration.create({
host: "host",
description: "description",
permissions: ["permission"],
});
Prerequisites
Successfully get the IdToken with systemOwner access level from login API.
Parameters
name type data type description host required string Host name description optional string Host description permissions optional string Permissions can be accessed by this host name
Update system configuration
Update a system configuration.
const response = await geocore.SystemConfiguration.update(configId, {
host: "host",
description: "description",
permissions: ["permission"],
});
Prerequisites
Successfully get the IdToken with systemOwner access level from login API.
Parameters
name type data type description configId required string Config ID host required string Host name description optional string Host description permissions optional string Permissions can be accessed by this host name