Skip to content

Cloudflare Cache purge command#2

Merged
jb3 merged 19 commits into
python-discord:mainfrom
doublevcodes:main
Jul 25, 2021
Merged

Cloudflare Cache purge command#2
jb3 merged 19 commits into
python-discord:mainfrom
doublevcodes:main

Conversation

@doublevcodes
Copy link
Copy Markdown
Contributor

@doublevcodes doublevcodes commented Jul 19, 2021

This PR adds the command to purge the Cloudflare cache for a specified zone as described in #1

PS. I had no way to test this so hopefully it works

Closes #1

Comment thread arthur/apis/cloudflare/zones.py Outdated
Comment thread arthur/apis/cloudflare/zones.py Outdated
Comment thread arthur/apis/cloudflare/zones.py Outdated
Comment thread arthur/apis/cloudflare/zones.py Outdated
Comment thread arthur/exts/cloudflare/zones.py Outdated
Reflected on feedback provided by @jb3 including:
- Change auth method
- Move POST request data from params to body
Comment thread arthur/apis/cloudflare/zones.py Outdated
Comment thread arthur/exts/cloudflare/zones.py Outdated
Comment thread arthur/exts/cloudflare/zones.py Outdated
Comment thread arthur/exts/cloudflare/zones.py Outdated
doublevcodes and others added 3 commits July 22, 2021 12:28
@jb3 jb3 changed the title CF Cache purge command Cloudflare Cache purge command Jul 25, 2021
Comment thread arthur/apis/cloudflare/zones.py Outdated
Co-authored-by: Joe Banks <joe@jb3.dev>
Comment thread arthur/apis/cloudflare/zones.py Outdated
Copy link
Copy Markdown
Member

@jb3 jb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jb3 jb3 merged commit 3ca8e4a into python-discord:main Jul 25, 2021
@jb3 jb3 mentioned this pull request Aug 20, 2021
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.

Cloudflare Cache Purge

2 participants