Add Keys and Domain Keys API endpoints #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Links:
Actions:
Add Keys and Domain Keys API endpoints:
handle_keystomailgun.handlers.keys_handler.handle_dkimkeystomailgun.handlers.domains_handler.Config.Examples:
get_dkim_keys(),post_dkim_keys(),delete_dkim_keys()examples tomailgun/examples/domain_examples.py.get_keys(),post_keys(),delete_key(),regenerate_key()examples tomailgun/examples/keys_examples.py.get_own_user_details()by creatingclient_with_secret_keyinmailgun/examples/users_examples.py.Docs:
KeysandDomain Keyssections with examples toREADME.md.README.md.README.md.KeysTests&AsyncKeysTestsand their methods.CONTRIBUTING.mdTests:
DomainTestsand onlytest_get_dkim_keys,test_post_dkim_keys_invalid_pem_stringtoAsyncDomainTests.KeysTestsandAsyncKeysTeststotests/tests.py.KeysTestsandAsyncKeysTests.BounceClassificationTeststo another place.CI:
codespellpre-commit hook as it lashes withtypos.pre-commithooks to the latest versions.Linting & Formatting:
Package Management:
opensslandpytest-asynciotoenvironment-dev.yamlandpyproject.toml.py<311fortyping_extensions >=4.7.1in filesenvironment.yaml,environment-dev.yaml,pyproject.toml, and inmailgun/client.py..server.keyto.gitignore.