Skip to main content
Question

Noob API Question - Connecting Universal API to JAMF Instance

  • July 11, 2019
  • 5 replies
  • 30 views

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
  • 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
  • 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
  • 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
  • July 11, 2019

Mathew,

Thanks for your help. It worked.

Steven


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

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