appliance techpreview system update: set
Set update repository configuration.
Request:
HTTP request
PUT https://{server}/rest/appliance/techpreview/system/update
Request Body Structure:
{
"config" : {
"password" : "secret string",
"current_URL" : "string",
"check_updates" : "disabled",
"time" : "string",
"day" : "Monday",
"username" : "string"
}
}
"config" : {
"password" : "secret string",
"current_URL" : "string",
"check_updates" : "disabled",
"time" : "string",
"day" : "Monday",
"username" : "string"
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | update_struct_set | update related configuration. |
config.current_URL | string | Current appliance update repository URL. Enter "default" to reset the url to the default url. |
config.check_updates | string | Check for update at the pre-configured repository URL. Defines state for automatic update notification. Value is one of: disabled: Automatic update notification is disabled. Disable periodically query the configured url for updates. enabled: Automatic update notification is enabled. Enable periodically query the configured url for updates. |
config.time | string | time to query for updates Format: HH:MM:SS Military (24 hour) Time Format |
config.day | string | day to query for updates Defines days to query for updates. Value is one of: Monday: query for updates on Monday Tuesday: query for updates on Tuesday Friday: query for updates on Friday Wednesday: query for updates on Wednesday Thursday: query for updates on Thursday Saturday: query for updates on Saturday Sunday: query for updates on Sunday Everyday: query for updates everyday |
config.username | string | username for the url update repository |
config.password | secret | password for the url update repository |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |