Docs quick reference optimization (#21331)
This PR closes https://github.com/fleetdm/fleet/issues/21108 @noahtalerman, I double-checked all redirects, and they are working. Clicking through the URLs in [this spreadsheet](https://docs.google.com/spreadsheets/d/1djVynIMuJK4pT5ziJW12CluVqcaoxxnCLaBO3VXfAt4/edit?usp=sharing) is a pretty quick way to go through them all. Note that "Audit logs" and "Understanding host vitals" redirect to the contributor docs on GitHub, so they will throw a 404 until this is merged. Some new guides benefitted from a name change, so they make more sense as stand-alone guides, and also so that we don't have to mess around with more redirects later. Those name changes followed [this convention](https://fleetdm.com/handbook/company/communications#headings-and-titles), which was recently documented in the handbook. Have fun! --------- Co-authored-by: Eric <eashaw@sailsjs.com> Co-authored-by: Noah Talerman <noahtal@umich.edu>
This commit is contained in:
co-authored by
Eric
Noah Talerman
parent
934c02a5c2
commit
2171544ad1
@@ -6159,6 +6159,16 @@ Note that the `EraseDevice` and `DeviceLock` commands are _available in Fleet Pr
|
||||
|
||||
This endpoint returns the results for a specific custom MDM command.
|
||||
|
||||
In the reponse, the possible `status` values for macOS, iOS, and iPadOS hosts are the following:
|
||||
|
||||
* Pending: the command has yet to run on the host. The host will run the command the next time it comes online.
|
||||
* NotNow: the host responded with "NotNow" status via the MDM protocol: the host received the command, but couldn’t execute it. The host will try to run the command the next time it comes online.
|
||||
* Acknowledged: the host responded with "Acknowledged" status via the MDM protocol: the host processed the command successfully.
|
||||
* Error: the host responded with "Error" status via the MDM protocol: an error occurred. Run the `fleetctl get mdm-command-results --id=<insert-command-id` to view the error.
|
||||
* CommandFormatError: the host responded with "CommandFormatError" status via the MDM protocol: a protocol error occurred, which can result from a malformed command. Run the `fleetctl get mdm-command-results --id=<insert-command-id` to view the error.
|
||||
|
||||
The possible `status` values for Windows hosts are documented in Microsoft's documentation [here](https://learn.microsoft.com/en-us/windows/client-management/oma-dm-protocol-support#syncml-response-status-codes).
|
||||
|
||||
`GET /api/v1/fleet/commands/results`
|
||||
|
||||
#### Parameters
|
||||
@@ -6194,7 +6204,6 @@ This endpoint returns the results for a specific custom MDM command.
|
||||
|
||||
> Note: If the server has not yet received a result for a command, it will return an empty object (`{}`).
|
||||
|
||||
|
||||
### List MDM commands
|
||||
|
||||
> `GET /api/v1/fleet/mdm/apple/commands` API endpoint is deprecated as of Fleet 4.40. It is maintained for backward compatibility. Please use the new API endpoint below. See old API endpoint docs [here](https://github.com/fleetdm/fleet/blob/fleet-v4.39.0/docs/REST%20API/rest-api.md#list-custom-mdm-commands).
|
||||
|
||||
Reference in New Issue
Block a user