API Help ...

Snyder, Alexander J alexander at snyderfamily.co
Wed Aug 3 09:00:12 MST 2022


I'm new to API Requests in general.

I'm I have an admin API Token that should be able to do "all the things".

I'm using Postman and I'm trying to send queries to Chef Automate.

I'm following along with the Chef Automate API documentation:
https://docs.chef.io/automate/api/

I have downloaded their JSON Schema definitions, and imported that into
Postman, so I have examples of all the API they have ....

I mean, I'm the definition of "being hand held", LOL ... but things just
aren't working.

Like I try to hit "/api/v0/compliance/nodes/search" to get a list of all my
nodes ... as they suggest in the example, i apply a filter of "environment:
prod" ... but it returns "Method Not Allowed", and i don't know what that
means ... and the documentation doesn't mention that.

Specifically, I'm reading this:  "
https://docs.chef.io/automate/api/#tag/ReportingService/operation/ReportingService_ListNodes
"

Even if you're not familiar with Chef, or Automate ... I think I need help
with API.

Thanks,
Alexander

Sent from my Samsung Galaxy S22+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20220803/2a92fad4/attachment.html>


More information about the PLUG-discuss mailing list