Posted on 01-13-2016 09:39 AM
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.
Solved! Go to Solution.
Posted on 01-13-2016 09:49 AM
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.
Posted on 01-13-2016 10:16 AM
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
Posted on 01-13-2016 09:49 AM
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.
Posted on 01-13-2016 10:16 AM
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
Posted on 01-13-2016 02:00 PM
Thanks! Both useful resources. Much appreciated!