mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
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:
parent
222b8f9f5c
commit
34474b2e1d
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user