examples
examples copied to clipboard
Create wipeAppwriteBucket() function in Python
fixes appwrite/appwrite#4128
⚡ Function Details
Delete all files inside an Appwrite Storage bucket. Make sure to introduce APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNCTION_ENDPOINT and APPWRITE_FUNCTION_API_KEY function variables. Bucket ID should be received as payload.
Example function payload:
{"bucketId":"profilePictures"}
Successful function response:
{"success":true}
Error function response:
{"success":false,"message":"Bucket not found."}
✅ Task Summary
- [x] Ask to be assigned to the issue.
- [x] Implement function
wipeAppwriteBucket()inPython/folder. - [x] Manually execute the newly implemented function to ensure it works.
- [x] Submit a pull request in open-runtimes/examples and include screenshots of successful execution.
📸 Screenshots

@RedHeadphone , thanks for the PR! 🤯 Please give us some time to review it.
Thank you so much for the PR 🤩. We're adding the hacktoberfest-accepted label to ensure this PR counts towards your Hacktoberfest contributions count. With that said, please stay active on this PR to address any comments once you receive a review. Happy Hacktoberfest! 🎃
@stnguyen90 Can we have this merged?
Hey there 👋 We are temporarily closing your PR as there has been no activity on it. Feel free to re-open it when you're ready to start working on it again 😇