Docs: Move parameters tables for count policies REST API docs (#13610)

Moved "Parameters" section above "Example" for consistent order across
the page
This commit is contained in:
Rachael Shaw 2023-08-30 17:35:26 -05:00 committed by GitHub
parent 222b8f9f5c
commit 34474b2e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4598,15 +4598,16 @@ For example, a policy might ask “Is Gatekeeper enabled on macOS devices?“ Th
`GET /api/v1/fleet/global/policies/count`
#### Example
`GET /api/v1/fleet/global/policies/count`
#### Parameters
| Name | Type | In | Description |
| ------------------ | ------- | ---- | ------------------------------------------------------------------------------------------------------------- |
| query | string | query | Search query keywords. Searchable fields include `name`. |
#### Example
`GET /api/v1/fleet/global/policies/count`
##### Default response
`Status: 200`
@ -4994,15 +4995,15 @@ Team policies work the same as policies, but at the team level.
`GET /api/v1/fleet/team/{team_id}/policies/count`
#### Example
`GET /api/v1/fleet/team/1/policies/count`
#### Parameters
| Name | Type | In | Description |
| ------------------ | ------- | ---- | ------------------------------------------------------------------------------------------------------------- |
| query | string | query | Search query keywords. Searchable fields include `name`. |
#### Example
`GET /api/v1/fleet/team/1/policies/count`
##### Default response
`Status: 200`