From 43bdb5b9b112a09a213d5ffc85388a9da50c80ec Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Sat, 4 Jan 2025 18:17:36 -0600 Subject: [PATCH] Use comma-separation rather than multiple identical parameters for getting software titles from multiple platforms --- docs/REST API/rest-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 02002260fc12..effe5e543138 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -9089,11 +9089,11 @@ Get a list of all software. | min_cvss_score | integer | query | _Available in Fleet Premium_. Filters to include only software with vulnerabilities that have a CVSS version 3.x base score higher than the specified value. | | max_cvss_score | integer | query | _Available in Fleet Premium_. Filters to only include software with vulnerabilities that have a CVSS version 3.x base score lower than what's specified. | | exploit | boolean | query | _Available in Fleet Premium_. If `true`, filters to only include software with vulnerabilities that have been actively exploited in the wild (`cisa_known_exploit: true`). Default is `false`. | -| platform | string | query | Filter software titles by platforms. Options are: `"macos"`, `"windows"`, `"linux"`, `"chrome"`, `"ios"`, `"ipados"`. This parameter can be specified more than once to filter by multiple platforms (e.g. `?platform=darwin&platform=windows`). | +| platform | string | query | Filter software titles by platforms. Options are: `"macos"` (alias of `"darwin"`), `"darwin"` `"windows"`, `"linux"`, `"chrome"`, `"ios"`, `"ipados"`. To show titles from multiple platforms, separate the platforms with commas (e.g. `?platform=darwin,windows`). | #### Example -`GET /api/v1/fleet/software/titles?team_id=3&platform=darwin&platform=windows` +`GET /api/v1/fleet/software/titles?team_id=3&platform=darwin,windows` ##### Default response