Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide check api #82

Merged
merged 1 commit into from
Oct 30, 2023
Merged

feat: provide check api #82

merged 1 commit into from
Oct 30, 2023

Conversation

antongolub
Copy link
Owner

Checks

To check the specified package version against the applied registry rules trigger its _check entrypoint.
For one package:

curl -X GET -k https://localhost:3000/registry/_check/eventsource/1.1.0
# {"[email protected]":"deny"}

To inspect a bulk on entries at once:

curl -X POST -k https://localhost:3000/registry/_check/bulk -d '["[email protected]"]'
# {"[email protected]":"deny"}
  • New code is covered by tests
  • All the changes are mentioned in docs (readme.md)

@antongolub antongolub merged commit 593093a into master Oct 30, 2023
9 checks passed
@antongolub antongolub deleted the add-check-api branch October 30, 2023 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant