cURL
curl --request POST \ --url https://api.imperial.gay/images/bulk-restore \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "ids": [ "<string>" ] } '
{ "updated": 123 }
Restore multiple uploads from Trash
Bearer imperial_live_xxxxxxxxxxxxx
curl -X POST "https://api.imperial.gay/images/bulk-restore" \ -H "Authorization: Bearer imperial_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "ids": ["6987cd047baba11ee0f66d98"] }'