Created
January 15, 2025 07:30
-
-
Save danielxvu/bdf6189798da34dce58bee8ef7c93e81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
ANON_KEY=$SUPABASE_ANON_KEY | |
curl -w "Connect time: %{time_connect}\nTime to first byte: %{time_starttransfer}\nTotal: %{time_total}\n" -o /dev/null -sL -X POST 'https://sstkbqowfaulaskqmqyk.supabase.co/storage/v1/object/list/saves' \ | |
-H "apikey: $ANON_KEY" \ | |
-H "authorization: Bearer $ANON_KEY" \ | |
-H 'content-type: application/json' \ | |
--data-raw '{"limit":100,"offset":0,"sortBy":{"column":"name","order":"asc"},"prefix":"64b87ad6-1d69-4e09-b10c-fdf91c035bea/fdf52b17-cc0d-4cca-bb0b-2ac78b407aba/assets"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment