Adding backend support for running live queries with team_id=0 (No team) (#17258)

- API endpoint GET fleet/targets/count can target 'No team' with
team_id=0
- API endpoint POST fleet/queries/run (for async live queries) can
target 'No team' with team_id=0
#16350

API doc changes PR: https://github.com/fleetdm/fleet/pull/17267

# Checklist for submitter

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Victor Lyuboslavsky
2024-03-04 16:08:10 -06:00
committed by GitHub
parent 98da852c94
commit 05ff1ca52a
5 changed files with 68 additions and 9 deletions
@@ -0,0 +1,2 @@
- API endpoint GET fleet/targets/count can target 'No team' with team_id=0
- API endpoint POST fleet/queries/run (for async live queries) can target 'No team' with team_id=0