Releases: deploymenttheory/go-api-sdk-jamfpro
v0.0.53
Added SDK coverage for
Jamf Pro API - Computer Inventory Collection Settings
This documentation outlines the API endpoints available for managing Computer Inventory Collection Settings in Jamf Pro.
Endpoints
-
✅ GET
/api/v1/computer-inventory-collection-settings
GetComputerInventoryCollectionSettings
retrieves the current computer inventory collection preferences and custom paths. -
✅ PATCH
/api/v1/computer-inventory-collection-settings
UpdateComputerInventoryCollectionSettings
updates the computer inventory collection preferences. -
✅ POST
/api/v1/computer-inventory-collection-settings/custom-path
CreateComputerInventoryCollectionSettingsCustomPath
creates a new custom path for the computer inventory collection settings. -
✅ DELETE
/api/v1/computer-inventory-collection-settings/custom-path/{id}
DeleteComputerInventoryCollectionSettingsCustomPathByID
deletes a custom path by its ID.
Jamf Pro API - Jamf Pro Information
This documentation covers the API endpoints available for retrieving information about the Jamf Pro server.
Endpoints
- ✅ GET
/api/v2/jamf-pro-information
GetJamfProInformation
retrieves information about various services enabled on the Jamf Pro server, like VPP token, DEP account status, BYOD, and more.
v0.0.52
Extended sdk coverage of SDK for Volume Purchasing Subscriptions
Jamf Pro API - Volume Purchasing Subscriptions
Endpoints
-
✅ GET
/api/v1/volume-purchasing-subscriptions
GetVolumePurchasingSubscriptions
retrieves all volume purchasing subscriptions. -
✅ GET
/api/v1/volume-purchasing-subscriptions/{id}
GetVolumePurchasingSubscriptionByID
fetches a single volume purchasing subscription by its ID. -
✅ POST
/api/v1/volume-purchasing-subscriptions
CreateVolumePurchasingSubscription
creates a new volume purchasing subscription. IfsiteId
is not included in the request, it defaults tositeId: "-1"
. -
✅ PUT
/api/v1/volume-purchasing-subscriptions/{id}
UpdateVolumePurchasingSubscriptionByID
updates a volume purchasing subscription by its ID. -
✅ DELETE
/api/v1/volume-purchasing-subscriptions/{id}
DeleteVolumePurchasingSubscriptionByID
deletes a volume purchasing subscription by its ID. -
✅ Custom Function
GetVolumePurchasingSubscriptionByNameByID
fetches a volume purchasing subscription by its display name and retrieves its details using its ID. -
✅ Custom Function
UpdateVolumePurchasingSubscriptionByNameByID
updates a volume purchasing subscription by its display name. -
✅ Custom Function
DeleteVolumePurchasingSubscriptionByName
deletes a volume purchasing subscription by its display name after resolving the name to an ID.
v0.0.51
Added tiered logging to the http client and have removed logging enablement via a debug mode. Now when the http client is initialised you can set one of 4 logging levels.
Logging Levels:
None - No logging is returned
Warning - Logs for Errors and warning are returned
Info - Logs for Errors, warning and information are returned
Debug - Logs for Errors, warning, information, debug and trace are returned
v0.0.50
Added to SDK coverage for BYOprofiles with examples
BYO Profiles - /JSSResource/byoprofiles
- ✅ GET
/JSSResource/byoprofiles
-GetBYOProfiles
retrieves all BYO profiles. - ✅ GET
/JSSResource/byoprofiles/id/{id}
-GetBYOProfileByID
retrieves a BYO profile by its ID. - ✅ GET
/JSSResource/byoprofiles/name/{name}
-GetBYOProfileByName
retrieves a BYO profile by its name. - ✅ POST
/JSSResource/byoprofiles/id/0
-CreateBYOProfile
creates a new BYO profile. - ✅ PUT
/JSSResource/byoprofiles/id/{id}
-UpdateBYOProfileByID
updates an existing BYO profile by its ID. - ✅ PUT
/JSSResource/byoprofiles/name/{oldName}
-UpdateBYOProfileByName
updates an existing BYO profile by its name. - ✅ DELETE
/JSSResource/byoprofiles/id/{id}
-DeleteBYOProfileByID
deletes an existing BYO profile by its ID. - ✅ DELETE
/JSSResource/byoprofiles/name/{name}
-DeleteBYOProfileByName
deletes an existing BYO profile by its name.
v0.0.49
Extended SDK coverage to Self Service Branding macOS with examples
Jamf Pro API - Self Service Branding macOS
✅ GET /api/v1/self-service/branding/macos - GetSelfServiceBrandingMacOS fetches all self-service branding configurations for macOS.
✅ GET /api/v1/self-service/branding/macos/{id} - GetSelfServiceBrandingMacOSByID fetches a self-service branding configuration for macOS by its ID.
✅ GET /api/v1/self-service/branding/macos/name/{name} - GetSelfServiceBrandingMacOSByNameByID fetches a self-service branding configuration for macOS by its name.
✅ POST /api/v1/self-service/branding/macos - CreateSelfServiceBrandingMacOS creates a new self-service branding configuration for macOS.
✅ PUT /api/v1/self-service/branding/macos/{id} - UpdateSelfServiceBrandingMacOSByID updates an existing self-service branding configuration for macOS by its ID.
✅ PUT - UpdateSelfServiceBrandingMacOSByName updates a self-service branding configuration for macOS by its name.
✅ DELETE /api/v1/self-service/branding/macos/{id} - DeleteSelfServiceBrandingMacOSByID deletes a self-service branding configuration for macOS by its ID.
✅ DELETE - DeleteSelfServiceBrandingMacOSByName deletes a self-service branding configuration for macOS by its name.
v0.0.48
Added to the sdk coverage with examples for:
Jamf Pro Classic API - Advanced Mobile Device Searches
- ✅ GET
/JSSResource/advancedmobiledevicesearches
- GetAdvancedMobileDeviceSearches fetches all advanced mobile device searches. - ✅ GET
/JSSResource/advancedmobiledevicesearches/id/{id}
- GetAdvancedMobileDeviceSearchByID fetches an advanced mobile device search by its ID. - ✅ GET
/JSSResource/advancedmobiledevicesearches/name/{name}
- GetAdvancedMobileDeviceSearchByName fetches advanced mobile device searches by their name. - ✅ POST
/JSSResource/advancedmobiledevicesearches
- CreateAdvancedMobileDeviceSearch creates a new advanced mobile device search. - ✅ PUT
/JSSResource/advancedmobiledevicesearches/id/{id}
- UpdateAdvancedMobileDeviceSearchByID updates an existing advanced mobile device search by its ID. - ✅ PUT
/JSSResource/advancedmobiledevicesearches/name/{name}
- UpdateAdvancedMobileDeviceSearchByName updates an advanced mobile device search by its name. - ✅ DELETE
/JSSResource/advancedmobiledevicesearches/id/{id}
- DeleteAdvancedMobileDeviceSearchByID deletes an advanced mobile device search by its ID. - ✅ DELETE
/JSSResource/advancedmobiledevicesearches/name/{name}
- DeleteAdvancedMobileDeviceSearchByName deletes an advanced mobile device search by its name.
v0.0.47
v0.0.46
Added SDK coverage for activation code
Activation Code - /JSSResource/activationcode
- ✅ GET
/JSSResource/activationcode
- GetActivationCode retrieves the current activation code and organization name. - ✅ PUT
/JSSResource/activationcode
- UpdateActivationCode updates the activation code with a new organization name and code.
v0.0.45
Added to SDK Jamf Pro Classic API Policies and examples
Policies - /JSSResource/policies
- ✅ GET
/JSSResource/policies
- GetPolicies retrieves a list of all policies - ✅ GET
/JSSResource/policies/id/{id}
- GetPolicyByID retrieves the details of a policy by its ID - ✅ GET
/JSSResource/policies/name/{name}
- GetPolicyByName retrieves a policy by its name - ✅ GET
/JSSResource/policies/category/{category}
- GetPolicyByCategory retrieves policies by their category - ✅ GET
/JSSResource/policies/createdBy/{createdBy}
- GetPoliciesByType retrieves policies by the type of entity that created them - ✅ POST
/JSSResource/policies/id/0
- CreatePolicy creates a new policy - ✅ PUT
/JSSResource/policies/id/{id}
- UpdatePolicyByID updates an existing policy by its ID - ✅ PUT
/JSSResource/policies/name/{name}
- UpdatePolicyByName updates an existing policy by its name - ✅ DELETE
/JSSResource/policies/id/{id}
- DeletePolicyByID deletes a policy by its ID - ✅ DELETE
/JSSResource/policies/name/{name}
- DeletePolicyByName deletes a policy by its name
v0.0.44
Added Advanced User Searches sdk coverage with examples
- ✅ GET
/JSSResource/advancedusersearches
- GetAdvancedUserSearches fetches all advanced user searches. - ✅ GET
/JSSResource/advancedusersearches/id/{id}
- GetAdvancedUserSearchByID fetches an advanced user search by its ID. - ✅ GET
/JSSResource/advancedusersearches/name/{name}
- GetAdvancedUserSearchesByName fetches advanced user searches by their name. - ✅ POST
/JSSResource/advancedusersearches
- CreateAdvancedUserSearch creates a new advanced user search. - ✅ PUT
/JSSResource/advancedusersearches/id/{id}
- UpdateAdvancedUserSearchByID updates an existing advanced user search by its ID. - ✅ PUT
/JSSResource/advancedusersearches/name/{name}
- UpdateAdvancedUserSearchByName updates an advanced user search by its name. - ✅ DELETE
/JSSResource/advancedusersearches/id/{id}
- DeleteAdvancedUserSearchByID deletes an advanced user search by its ID. - ✅ DELETE
/JSSResource/advancedusersearches/name/{name}
- DeleteAdvancedUserSearchByName deletes an advanced user search by its name.