Skip to main content
Question

Noob API Question - Connecting Universal API to JAMF Instance


Forum|alt.badge.img+3

Hi,

I am able to connect the class API to my instance by using url https://INSTANCEURL/api but not the universal by using https://INSTANCEURL/uapi. Not sure why?

Thanks

Steven

5 replies

Forum|alt.badge.img+20
  • Employee
  • 77 replies
  • July 11, 2019

The Classic API docs are available from /api while the basepath for interacting with it is /JSSResource. The Jamf Pro API (formerly the UAPI) has docs available from /uapi/doc and has a basepath of /uapi.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 5 replies
  • July 11, 2019

Sam, Thanks for getting back to me.

I understand what you are saying that the URLs are different.
What I am asking about is that the classic API can be accessed in a way that it would access my instance of JAMF simply by appending /api to my JAMF instance URL.

My question is can the universal API also be accessed in a way that it will access my instance of Jamf and not the try out instance.

Steven


Forum|alt.badge.img+9
  • New Contributor
  • 60 replies
  • July 11, 2019

If you're going to https://yourproductionjamfpro.com/uapi/doc, that actually is accessing your instance of Jamf Pro and not the Jamf Developer try-it-out instance. The try-it-out instance only applies if you're going to developer.jamf.com

Maybe the confusion is the "model/model schema" area under each endpoint? That's just sample data, if you click on the "Try it out" button for each endpoint that'll use your actual Jamf Pro data.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 5 replies
  • July 11, 2019

Mathew,

Thanks for your help. It worked.

Steven


Forum|alt.badge.img+12
  • Valued Contributor
  • 139 replies
  • February 6, 2020

Hopefully jamf will add this to the classic API so XML can be used.


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