REST API - get

appliance techpreview system update: get

Get update repository configuration.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/system/update
No request parameters

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "password""string",
        "current_URL""string",
        "default_URL""string",
        "check_updates""disabled",
        "time""string",
        "day""Monday",
        "latest_update_query_time""string",
        "latest_update_install_time""string",
        "username""string"
    }
}

Response Type:

Name Type Description
bold = required
value update_struct_get update related configuration.
value.current_URL string Current appliance update repository URL.

value.default_URL string Default appliance update repository URL.

value.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.

value.time string time to query for updates Format: HH:MM:SS Military (24 hour) Time Format

value.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

value.latest_update_install_time string timestamp of latest update installation

value.latest_update_query_time string timestamp of latest query to update repository

value.username string username for the url update repository

value.password string password for the url update repository

Errors:

HTTP Status Code Type Description
500 error Generic error