[API/YAML] Use API to deploy in-house (enterprise) iOS/iPadOS package - #33950
Conversation
|
|
||
| > **Experimental feature**. This feature is undergoing rapid improvement, which may result in breaking changes to the API or configuration surface. It is not recommended for use in automated workflows. | ||
|
|
||
| `GET /api/v1/fleet/hosts/:id/software` |
There was a problem hiding this comment.
Dev note:
GET /api/v1/fleet/hosts/:id/software should returns software_package object for in-house (.ipa package) app.
"software_package": {
"name": "MyCustomApp-1.12.ipa",
"automatic_install_policies": null,
"version": "1.12",
"platform": "ios",
"self_service": false,
"icon_url": null,
"last_install": {
"install_uuid": "e4e31e89-7f43-4f18-8f12-d5dd09ee0d68",
"installed_at": "2025-08-29T10:06:55.424525Z"
},
"last_uninstall": null,
"package_url": null,
"categories": null
}install_uuid is UUID of MDM command that is used to install .ipa
| @@ -9988,6 +9988,30 @@ | |||
| "vulnerabilities": [] | |||
| } | |||
| ] | |||
There was a problem hiding this comment.
Dev note:
↓ Fields that are not supported by the .ipa package should be null.
|
|
||
| Add a package (.pkg, .ipa, .msi, .exe, .deb, .rpm, .tar.gz) to install on Apple (macOS/iOS/iPadOS), Windows, or Linux hosts. | ||
|
|
||
| `POST /api/v1/fleet/software/package` |
There was a problem hiding this comment.
Dev note
- When the user uploads an
.ipafile type and they specify unsupported fields (install_script,uninstall_script,post_install_script,pre_install_query,categories,self_service, andautomatic_install), Fleet will ignore them and won't throw an error or warning.
This means that GitOps will run successfully. The .ipa package is added to Fleet without any of the unsupported fields.
| "name": "MyCustomApp", | ||
| "software_package": { | ||
| "name": "MyCustomApp-1.12.ipa", | ||
| "platform": "ios" |
There was a problem hiding this comment.
this looks new? do we have a platform field for all software_package.platform? ios ipados others?
cc: @jahzielv
There was a problem hiding this comment.
@RachelElysia I do see the software_package.platform field on existing software packages fwiw
Related to: