Skip to content

[API/YAML] Deploy custom (in-house) iOS/iPadOS apps - #32447

Closed
marko-lisica wants to merge 4 commits into
docs-v4.75.0from
30936-api-changes
Closed

[API/YAML] Deploy custom (in-house) iOS/iPadOS apps#32447
marko-lisica wants to merge 4 commits into
docs-v4.75.0from
30936-api-changes

Conversation

@marko-lisica

@marko-lisica marko-lisica commented Aug 29, 2025

Copy link
Copy Markdown
Member

Comment thread docs/REST API/rest-api.md

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`

@marko-lisica marko-lisica Aug 29, 2025

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dev note

  • When the user uploads an .ipa file type and they specify unsupported fields (install_script, uninstall_script, post_install_script, pre_install_query, categories, self_service, and automatic_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.

Comment thread docs/REST API/rest-api.md
"vulnerabilities": []
}
]
},

@marko-lisica marko-lisica Aug 29, 2025

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fields that are not supported by .ipa package, should be null.

Comment thread docs/REST API/rest-api.md
@@ -9534,6 +9534,30 @@ Get a list of all software.
"vulnerabilities": []

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

software_package object returned by GET /api/v1/fleet/hosts/:id/software

"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
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

install_uuid is UUID of MDM command that is used to install .ipa

@noahtalerman
noahtalerman marked this pull request as ready for review August 29, 2025 23:40
@rachaelshaw

Copy link
Copy Markdown
Member

@marko-lisica should this still be merged to the 4.75 branch or is it pushed to 4.76?

@marko-lisica

Copy link
Copy Markdown
Member Author

@marko-lisica should this still be merged to the 4.75 branch or is it pushed to 4.76?

We're not sure yet if this will go in 4.75. I would keep it open until next week. If we learn that we can't do it, then I'll close it.

@marko-lisica

Copy link
Copy Markdown
Member Author

@rachaelshaw ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants