Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chef Cookbooks API

The Cookbooks API from Chef — 2 operation(s) for cookbooks.

Chef Cookbooks API is one of 14 APIs that Chef publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cookbooks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and an API reference.

This API exposes 2 operations across 2 paths. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://{automate}/api/v0.

2 operations 2 paths 0 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://chef.example.com/organizations/example
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Chef Cookbooks API declares 1 security scheme for authenticating requests. An API key is passed in the header as api-token (apiToken). By default, every request must be authenticated.

  • apiToken — API token issued through the Chef Automate UI or admin API.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Cookbooks 2
GET
/cookbooks
List cookbooks
listCookbooks → 200
GET
/cookbooks/{cookbookName}
Get cookbook versions
getCookbook 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chef-cookbooks-api-openapi.yml Raw ↑

Other APIs Chef publishes across the network.

Chef InSpec
Chef Channels API
Chef Clients API
Chef Data Bags API
Chef Environments API
Chef IAM API
Chef Nodes API
Chef Packages API
Chef Profiles API
Chef Reports API
Chef Roles API
Chef Scans API