mirror of
https://github.com/apple/device-management.git
synced 2026-02-12 12:52:53 +00:00
254 lines
8.8 KiB
YAML
254 lines
8.8 KiB
YAML
title: Available OS Updates Command
|
|
description: Get a list of available operating-system updates for a device.
|
|
payload:
|
|
requesttype: AvailableOSUpdates
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '9.0'
|
|
deprecated: '26.0'
|
|
accessrights: AllowAppInstallation
|
|
supervised: true
|
|
requiresdep: false
|
|
sharedipad:
|
|
mode: allowed
|
|
devicechannel: true
|
|
userchannel: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
macOS:
|
|
introduced: '10.11'
|
|
deprecated: '26.0'
|
|
accessrights: None
|
|
devicechannel: true
|
|
userchannel: false
|
|
supervised: false
|
|
requiresdep: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
tvOS:
|
|
introduced: '12.0'
|
|
deprecated: '26.0'
|
|
accessrights: AllowAppInstallation
|
|
devicechannel: true
|
|
supervised: true
|
|
requiresdep: false
|
|
visionOS:
|
|
introduced: n/a
|
|
watchOS:
|
|
introduced: n/a
|
|
content: Queries the device for a list of available OS updates. On OS X, a ScheduleOSUpdateScan
|
|
must be performed to update the results returned by this query.
|
|
responsekeys:
|
|
- key: AvailableOSUpdates
|
|
type: <array>
|
|
presence: required
|
|
content: |-
|
|
An array of dictionaries that contains only the most recent available updates in iOS and tvOS, and possibly multiple available updates in macOS. Follow the instructions in the Managed Apps and Updates section of the Apple Software Lookup Service to find a complete catalog of iOS and tvOS updates.
|
|
|
|
In macOS 14 and later, `AvailableOSUpdates` doesn't include InstallAssistant-based, full-replacement installers. It only contains over-the-air (OTA) updates. OTA updates can update or upgrade the OS and support all `InstallAction` options.
|
|
|
|
If a Software Update is actively managed by a Declarative Device Management Specific Enforcement configuration, the device ignores this command as it applies to the actively managed update. This command can return information for unmanaged updates, such as System Applications and Configuration Data. For information about available updates when using Declarative Device Management, see [Using the Apple Software Lookup Service](https://support.apple.com/guide/deployment/depafd2fad80/web).
|
|
subkeys:
|
|
- key: AvailableOSUpdatesItem
|
|
type: <dictionary>
|
|
presence: required
|
|
content: The response dictionary that describes the available operating-system
|
|
updates item.
|
|
subkeys:
|
|
- key: ProductKey
|
|
type: <string>
|
|
presence: required
|
|
content: The product key that represents the update.
|
|
- key: HumanReadableName
|
|
type: <string>
|
|
presence: required
|
|
content: The human-readable name of the update in the current user's current
|
|
locale.
|
|
- key: HumanReadableNameLocale
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <string>
|
|
presence: required
|
|
content: The locale, in IOS639-1 Alpha-2 code format, of the `HumanReadableName`
|
|
value. This value is available in macOS 10.11 and later.
|
|
- key: MetadataURL
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <string>
|
|
presence: required
|
|
content: A URL where the MDM server can request additional localized names for
|
|
this update. This key isn't present for certain updates, such as mobile software
|
|
updates (MSUs) or major OS updates. This value is available in macOS 10.11
|
|
and later.
|
|
- key: ProductName
|
|
supportedOS:
|
|
macOS:
|
|
introduced: n/a
|
|
type: <string>
|
|
presence: required
|
|
content: The product name; for example, _iOS_. This value is available in iOS
|
|
9.0 and later, and tvOS 12.0 and later.
|
|
- key: Version
|
|
type: <string>
|
|
presence: required
|
|
content: The version of the update.
|
|
- key: Build
|
|
type: <string>
|
|
presence: required
|
|
content: The build number of the update.
|
|
- key: DownloadSize
|
|
supportedOS:
|
|
macOS:
|
|
introduced: '10.12'
|
|
type: <integer>
|
|
presence: required
|
|
content: The storage size necessary to download the software update. Prior to
|
|
macOS 10.14, this only includes major operating-system updates. In macOS 10.14
|
|
and later, this also includes minor updates.
|
|
- key: InstallSize
|
|
supportedOS:
|
|
macOS:
|
|
introduced: n/a
|
|
type: <integer>
|
|
presence: required
|
|
content: The storage size necessary to install the update. This value is available
|
|
in iOS 9.0 and later, and tvOS 12.0 and later.
|
|
- key: AppIdentifiersToClose
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <array>
|
|
presence: required
|
|
content: An array that contains app identifiers of apps to close so you can
|
|
install the update. This value is available in macOS 10.11 and later.
|
|
subkeys:
|
|
- key: AppIdentifiersToCloseItem
|
|
type: <string>
|
|
- key: IsCritical
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, this is a critical update.
|
|
- key: IsConfigDataUpdate
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, this is an update to a configuration file. This value is
|
|
available in macOS 10.11 and later.
|
|
- key: IsFirmwareUpdate
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, this is an update to firmware. This value is available in
|
|
macOS 10.11 and later.
|
|
- key: IsMajorOSUpdate
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
macOS:
|
|
introduced: 10.11.4
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, this is a major update; for example, 10.15.x to 11. This
|
|
value is available in macOS 10.11 and later.
|
|
- key: RestartRequired
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, the device restarts after installing the update.
|
|
- key: AllowsInstallLater
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, download the software update and install it later.
|
|
- key: DeferredUntil
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
macOS:
|
|
introduced: 10.12.4
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <date>
|
|
presence: optional
|
|
content: If present, the date when you want the update to install. This value
|
|
is available in macOS 10.12.4 and later.
|
|
- key: RequiresBootstrapToken
|
|
supportedOS:
|
|
iOS:
|
|
introduced: n/a
|
|
macOS:
|
|
introduced: '11.0'
|
|
tvOS:
|
|
introduced: n/a
|
|
type: <boolean>
|
|
presence: optional
|
|
default: false
|
|
content: If `true`, the device can accept a Bootstrap Token from the MDM server
|
|
instead of prompting for user authentication prior to installation. This only
|
|
applies when `BootstrapTokenAllowedForAuthentication` is `true` in the `SecurityInfo`
|
|
response. This value is available for a Mac with Apple silicon in macOS 11
|
|
and later.
|
|
- key: IsSecurityResponse
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '16.2'
|
|
macOS:
|
|
introduced: '13.1'
|
|
tvOS:
|
|
introduced: '16.2'
|
|
type: <boolean>
|
|
presence: required
|
|
content: If `true`, this update is a Background Security Improvement.
|
|
- key: SupplementalBuildVersion
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '16.2'
|
|
macOS:
|
|
introduced: '13.1'
|
|
tvOS:
|
|
introduced: '16.2'
|
|
type: <string>
|
|
presence: optional
|
|
content: The build version for the Background Security Improvement update, for
|
|
example, `13A999`, which is the same as `Build`.
|
|
- key: SupplementalOSVersionExtra
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '16.2'
|
|
macOS:
|
|
introduced: '13.1'
|
|
tvOS:
|
|
introduced: '16.2'
|
|
type: <string>
|
|
presence: optional
|
|
content: The Background Security Improvement OS version suffix, for example,
|
|
`(a)`. Only present if this is a Background Security Improvement update.
|
|
notes:
|
|
- title: ''
|
|
content: |-
|
|
A device must have a total of `DownloadSize` + `InstallSize` bytes available to successfully install a software update. In macOS, execute the `ScheduleOSUpdateScan` command to update the results that this command returns. In iOS and tvOS, the list only contains the latest available updates.
|
|
|
|
Refer to the following sections to determine supported channels and requirements, and to see an example request and response.
|