I'm getting most of the API end points into an API client for testing. I have run into an entry that is either an error in the documentation or there is a missing bit of documentation. Or it has been removed and there is still a remnant:
If you look in the API docs, you can click on and read this entry for dns:
/nodes/{node}/dns
And this one for hosts:
/nodes/{node}/hosts
But if you click on the link to read the documentation for "execute" between those two above, there is a problem and there is no documentation available.
/api2/json/nodes/{node}/execute
If you look in the API docs, you can click on and read this entry for dns:
/nodes/{node}/dns
And this one for hosts:
/nodes/{node}/hosts
But if you click on the link to read the documentation for "execute" between those two above, there is a problem and there is no documentation available.