All URIs are relative to https://tryitout.jamfcloud.com/uapi
Method | HTTP request | Description |
---|---|---|
patch_patch_policies_id_logs_get | GET /patch/patch-policies/{id}/logs | Return the Patch Policy Attempt details |
list[PatchPolicyAttempt] patch_patch_policies_id_logs_get(id, device_id=device_id)
Return the Patch Policy Attempt details
Returns the patch policy attempt details
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.PatchPolicyLogsPreviewApi(api_client)
id = 56 # int | patch policy id
device_id = 56 # int | device id (optional)
try:
# Return the Patch Policy Attempt details
api_response = api_instance.patch_patch_policies_id_logs_get(id, device_id=device_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling PatchPolicyLogsPreviewApi->patch_patch_policies_id_logs_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | patch policy id | |
device_id | int | device id | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Patch Policy Attempt Details | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]