POST
/v1/assets/uploadUpload an asset
- Content-Type: multipart/form-data.
- Required part: file.
- Optional fields: collectionId and warnAboutDuplicateImages.
- The current server limit is 50 MB by default and can be configured by the deployment.
curl -i -X POST https://api.vyso.io/v1/assets/upload -H "Authorization: Bearer $CLERK_SESSION_TOKEN" -F "file=@./hero.jpg" -F "warnAboutDuplicateImages=true"