Upload a file to storage.
cURL
curl --request POST \ --url https://api.zarkai.xyz/v1/storage/files \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form file='@example-file'
{ "fileId": "file-55f3fa40-9883-45d5-a877-a68264d58929" }
API key for authentication
File to upload
File uploaded successfully
"file-55f3fa40-9883-45d5-a877-a68264d58929"