cURL
curl --request POST \ --url https://{subdomain}.storage.{region}.nhost.run/v1/ops/list-not-uploaded \ --header 'X-Hasura-Admin-Secret: <api-key>'
{ "metadata": [ { "id": "d5e76ceb-77a2-4153-b7da-1f7c115b2ff2", "name": "profile-picture.jpg", "bucketId": "users-bucket", "isUploaded": true } ] }
That is, metadata that has isUploaded = false. This is an admin operation that requires the Hasura admin secret.
Hasura admin secret key for backend/administrative operations.
Successfully checked files not uploaded
Show child attributes
Unique identifier for the file.
"d5e76ceb-77a2-4153-b7da-1f7c115b2ff2"
Name of the file including extension.
"profile-picture.jpg"
ID of the bucket containing the file.
"users-bucket"
Whether the file has been successfully uploaded.
true
Was this page helpful?