Skip to main content
Solved

JAMF API access?


Forum|alt.badge.img+3

Does anyone know how I can get more info on the JAMF APIs that are listed on the JAMF site here: http://www.jamfsoftware.com/developer-resources/

Calling JAMF has some folks claiming they don't know anything about the APIs, and others claiming I need to contact my JSS provider (a third-party cloud-hosted solution). I'd just like some documentation at the very least, though access to the code would also be nice to see.

Best answer by roiegat

I've messed around with the API by learning it in two ways:

1) Go to: https://yourcompany.com:8443/api/ and see what you can and can't access in the API. It has good sample code there that you can play around with.

2) Look a the forums for examples. I've been able to write both bash script and powershell script based on the guidance of the fine folks on this board.

View original
Did this topic help you find an answer to your question?

3 replies

roiegat
Forum|alt.badge.img+16
  • Valued Contributor
  • 412 replies
  • Answer
  • January 13, 2016

I've messed around with the API by learning it in two ways:

1) Go to: https://yourcompany.com:8443/api/ and see what you can and can't access in the API. It has good sample code there that you can play around with.

2) Look a the forums for examples. I've been able to write both bash script and powershell script based on the guidance of the fine folks on this board.


mm2270
Forum|alt.badge.img+16
  • Legendary Contributor
  • 7880 replies
  • January 13, 2016

The most up to date documentation on the API from JAMF is already on your JSS, as @roiegat mentions above. Just use the address path mentioned in your browser to view a full listing of the API resources you can call on.

But even after looking through it, you may be wanting more, such as more examples of how to use these, or better explanations on how to access them in a script. You can do some searches around here for examples some of us have posted. Some scripts are simple and only call up one item within a record. Others are more involved. Here is a link to my github section on JSS API scripts I've posted. I have another API script I'm putting the final touches on at the moment that I will probably post in the near future.
You'll also want to head over to Bryson Tyrrell's excellent "Unofficial JSS API docs" found here: https://unofficial-jss-api-docs.atlassian.net/wiki


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 9 replies
  • January 13, 2016

Thanks! Both useful resources. Much appreciated!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings