Skip to main content

Hello all.


When I use the following API point:


--url $JAMFServer/api/v1/managed-software-updates/update-statuses/


I get a long list of info. This indicates I have permissions to access this data.


However if I use "--url $JAMFServer/api/v1/managed-software-updates/update-statuses/filter=status=="installing" "


I get a 403 error.


Which is "Forbidden". It doesn't matter what filter I use, no go. Anyone know what permission needs to be set to get access to this info?


Thanks.

@Chris_Cover I don't see anything in the API reference that indicates you can ask for only the status messages containing "installing" when using the managed-software-updates/update-statuses/ endpoint, so you'd need to us jq to parse out the installing response when calling the endpoint with filter=status.


@Chris_Cover I don't see anything in the API reference that indicates you can ask for only the status messages containing "installing" when using the managed-software-updates/update-statuses/ endpoint, so you'd need to us jq to parse out the installing response when calling the endpoint with filter=status.


Thanks for the response but you can actually get other statuses. I figured out what I was doing wrong. 


So:


 


--url $JAMFServer/api/v1/managed-software-updates/update-statuses?filter=status=="DOWNLOAD_INSUFFICIENT_SPACE" \\


Will give you devices that failed due to insufficient space.


 


I'm now stuck on the jq command that thinks I have null data.. 


The suffering never ends.


Thanks for the response but you can actually get other statuses. I figured out what I was doing wrong. 


So:


 


--url $JAMFServer/api/v1/managed-software-updates/update-statuses?filter=status=="DOWNLOAD_INSUFFICIENT_SPACE" \\


Will give you devices that failed due to insufficient space.


 


I'm now stuck on the jq command that thinks I have null data.. 


The suffering never ends.


Interesting, and good to know. You might submit a documentation update request at ideas.jamf.com to update the reference for that endpoint to illustrate filtering on specific statuses.


Interesting, and good to know. You might submit a documentation update request at ideas.jamf.com to update the reference for that endpoint to illustrate filtering on specific statuses.


The documentation is there. It's just not what I would consider "clear". It assumes you know certain things (which may be a reasonable assumption if you are digging into the API). Once I "freed my mind" I was able to figure out what was required.


Reply