Skip to content

[API] Add multiple custom packages for the same software title in the same fleet#48265

Open
marko-lisica wants to merge 4 commits into
docs-v4.89.0from
28108-api-changes
Open

[API] Add multiple custom packages for the same software title in the same fleet#48265
marko-lisica wants to merge 4 commits into
docs-v4.89.0from
28108-api-changes

Conversation

@marko-lisica

@marko-lisica marko-lisica commented Jun 25, 2026

Copy link
Copy Markdown
Member

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

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

@marko-lisica marko-lisica Jun 25, 2026

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 notes

  • Add a packages array to the List software (GET /api/v1/fleet/software/titles) and Get software (GET /api/v1/fleet/software/titles/:id) responses. The array lists all packages added for a title.
    • GET /api/v1/fleet/software/titles: Don't include last_install and last_uninstall fields, as those are only relevant for the host.
  • software_package is kept for backwards compatibility and it contains the oldest (first added) package.
  • Per-package self_service, categories, and labels (labels_include_any, labels_exclude_any, labels_include_all.
  • GET /api/v1/fleet/hosts/:id/software
    • Keep the software_package object in the response. If multiple packages are added to the software title, it will include info about the package that is installed/available for install for that host.
    • In case there are multiple packages that are in scope on the host, we rely on the fallback (the package that is first added).

Comment thread docs/REST API/rest-api.md Outdated
Comment thread docs/REST API/rest-api.md Outdated
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.

2 participants