You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: list versions of a single cookbook and cookbook artifact (#31)
Add the two read endpoints from the Chef Server API that were unexposed:
GET /organizations/ORG/cookbooks/NAME -> Cookbooks.GetVersions
GET /organizations/ORG/cookbook_artifacts/NAME -> CookbookArtifacts.GetVersions
Both return the versions/identifiers of one named item, unwrapped from the
server's single-key {name: {url, versions}} envelope into the existing
CookbookListEntry / CookbookArtifactListEntry types. Cookbooks.GetVersions
accepts the documented num_versions filter ("" / "n" / "all").
Previously callers could only List() every cookbook or Get() one specific
version/identifier; there was no way to ask for one cookbook's version set.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ following endpoint families are implemented:
28
28
|`c.Associations`|`/organizations/O/users`, `/association_requests`, `/users/U/...`| Members (ListMembers/GetMember/AddMember/RemoveMember), org invites (ListInvites/Invite/RescindInvite), user invites (ListUserInvites/UserInviteCount/RespondInvite) and ListUserOrgs |
29
29
|`c.Clients`|`/clients`| List / Get / Create / Update / Delete / Reregister |
30
30
|`c.Containers`|`/containers`| List / Get / Create / Delete |
31
-
|`c.Cookbooks`|`/cookbooks`| List / Get (with metadata) / Delete / Upload (sandbox flow) / Download / ListLatest / ListRecipes |
32
-
|`c.CookbookArtifacts`|`/cookbook_artifacts`| List / Get (with metadata) / Delete / Upload|
0 commit comments