Chef Server API
Chef Server API
The Chef server API is a REST API that provides access to objects on the Chef server, including nodes, environments, roles, cookbooks (and cookbook versions), and to manage an API client list and the associated RSA public key-pairs.
Requirements
The Chef server API has the following requirements:
- Access to a Chef server running version 0.10.x or above
- The
Accept
header must be set toapplication/json
- For
PUT
andPOST
requests, theContent-Type
header must be set toapplication/json
- The
X-Chef-Version
header must be set to the version of the Chef server API that is being used - A