feat(licenses): add API endpoints for license package CRUD (edit, delete, archive) #388
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The API has package list and create but is missing edit, delete, and archive endpoints.
Requirements
PATCH /api/v1/repos/{owner}/{repo}/license-packages/{id}— edit packageDELETE /api/v1/repos/{owner}/{repo}/license-packages/{id}— delete packagePOST /api/v1/repos/{owner}/{repo}/license-packages/{id}/archive— archive/unarchiveTest Plan
🤖 Generated with Claude Code
Testing Plan — API Package CRUD
API
🤖 Generated with Claude Code
Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.