Skip to content

Releases: deploymenttheory/go-api-sdk-jamfpro

v0.0.43

01 Nov 11:26
cceddcb
Compare
Choose a tag to compare

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

01 Nov 07:26
c1f3103
Compare
Choose a tag to compare

Refined error propagation for auth token validation checking when performing a request.

v0.0.41

30 Oct 16:25
343dbaa
Compare
Choose a tag to compare

bug fixing and troubleshooting

Standardised struct names to align to naming convention for computer ext atts and api roles

fixed funcs wrongly expecting a string instead of an int in computer ext atts and api roles

v0.0.36

30 Oct 07:42
608b080
Compare
Choose a tag to compare

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

29 Oct 17:59
2707d33
Compare
Choose a tag to compare

Bug fixes and tidy up

Added the first iteration of a test strategy for the sdk.

v0.0.34

26 Oct 12:55
b7a9f31
Compare
Choose a tag to compare

Bug fixes for structs

v0.0.32

26 Oct 11:22
cd3d68f
Compare
Choose a tag to compare

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

25 Oct 15:35
c776753
Compare
Choose a tag to compare

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

23 Oct 07:10
65fa8e9
Compare
Choose a tag to compare

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).

v0.0.26

20 Oct 13:39
560cbbe
Compare
Choose a tag to compare

Added additional structs to handle static computer groups and added additional examples. split create and update examples by static and smart group examples.