Releases: deploymenttheory/go-api-sdk-jamfpro
Releases · deploymenttheory/go-api-sdk-jamfpro
v0.0.43
Added api-role-privileges sdk coverage with examples
Jamf Pro API Role Privileges - /api/v1/api-role-privileges
- ✅ GET
/api/v1/api-role-privileges
-GetJamfAPIPrivileges
fetches a list of Jamf API role privileges. - ✅ GET
/api/v1/api-role-privileges/search?name={name}&limit={limit}
-GetJamfAPIPrivilegesByName
fetches a Jamf API role privileges by name.
v0.0.42
v0.0.41
v0.0.36
Added SDK support for Advanced Computer Searches and added examples
Jamf Pro Classic API - Advanced Computer Searches
- ✅ GET
/JSSResource/advancedcomputersearches
- GetAdvancedComputerSearches fetches all advanced computer searches. - ✅ GET
/JSSResource/advancedcomputersearches/id/{id}
- GetAdvancedComputerSearchByID fetches an advanced computer search by its ID. - ✅ GET
/JSSResource/advancedcomputersearches/name/{name}
- GetAdvancedComputerSearchesByName fetches advanced computer searches by their name. - ✅ POST
/JSSResource/advancedcomputersearches
- CreateAdvancedComputerSearch creates a new advanced computer search. - ✅ PUT
/JSSResource/advancedcomputersearches/id/{id}
- UpdateAdvancedComputerSearchByID updates an existing advanced computer search by its ID. - ✅ PUT
/JSSResource/advancedcomputersearches/name/{name}
- UpdateAdvancedComputerSearchByName updates an advanced computer search by its name. - ✅ DELETE
/JSSResource/advancedcomputersearches/id/{id}
- DeleteAdvancedComputerSearchByID deletes an advanced computer search by its ID. - ✅ DELETE
/JSSResource/advancedcomputersearches/name/{name}
- DeleteAdvancedComputerSearchByName deletes an advanced computer search by its name.
v0.0.35
v0.0.34
v0.0.32
Added Jamf Pro Classic API - Sites
- ✅ GET
/JSSResource/sites
- GetSites fetches all sites. - ✅ GET
/JSSResource/sites/id/{id}
- GetSiteByID fetches a site by its ID. - ✅ GET
/JSSResource/sites/name/{name}
- GetSiteByName fetches a site by its name. - ✅ POST
/JSSResource/sites/id/0
- CreateSite creates a new site. - ✅ PUT
/JSSResource/sites/id/{id}
- UpdateSiteByID updates an existing site by its ID. - ✅ PUT
/JSSResource/sites/name/{name}
- UpdateSiteByName updates a site by its name. - ✅ DELETE
/JSSResource/sites/id/{id}
- DeleteSiteByID deletes a site by its ID. - ✅ DELETE
/JSSResource/sites/name/{name}
- DeleteSiteByName deletes a site by its name.
v0.0.31
Added dynamic rate handling to handle api request burst activity.
Added http.Method Put and Patch to the retryable Request methods.
Added graceful handling of html responses for the jamf pro and classic api. this should stop panics when resources don't exist e.g in get scenarios.
Improved error propagation between http client and jamf pro package
v0.0.27
Add the following with full examples
Jamf Pro Classic API - Computer Extension Attributes
- ✅ GET
/JSSResource/computerextensionattributes
- GetComputerExtensionAttributes gets a list of all computer extension attributes. - ✅ GET
/JSSResource/computerextensionattributes/id/{id}
- GetComputerExtensionAttributeByID retrieves a computer extension attribute by its ID. - ✅ GET
/JSSResource/computerextensionattributes/name/{name}
- GetComputerExtensionAttributeByName retrieves a computer extension attribute by its name. - ✅ POST
/JSSResource/computerextensionattributes/id/0
- CreateComputerExtensionAttribute creates a new computer extension attribute. - ✅ PUT
/JSSResource/computerextensionattributes/id/{id}
- UpdateComputerExtensionAttributeByID updates an existing computer extension attribute by its ID. - ✅ PUT
/JSSResource/computerextensionattributes/name/{name}
- UpdateComputerExtensionAttributeByName updates a computer extension attribute by its name. - ✅ DELETE
/JSSResource/computerextensionattributes/id/{id}
- DeleteComputerExtensionAttributeByID deletes a computer extension attribute by its ID. -
⚠️ DELETE (Complex Operation) -DeleteComputerExtensionAttributeByNameByID
deletes a computer extension attribute by its name (involves fetching ID by name first).