feat: make metadata/manifest GET endpoint publicly accessible (#676) #679
Reference in New Issue
Block a user
Delete Branch "chore/676-public-metadata"
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
Removes
reqRepoReaderauth requirement from GET/repos/{owner}/{repo}/metadataand/manifestendpoints, making them publicly accessible for public repos without authentication.Changes
routers/api/v1/api.go: SplitComboroutes into separateGet/PutroutesreqToken()+reqAdmin()Why
Closes #676
Remove reqRepoReader auth requirement from GET /repos/{owner}/{repo}/metadata and /manifest endpoints. PUT (update) still requires token + admin.Pull request closed