Is it possible to add custom metadatas to a file with vercel/blob ?
Unanswered
Atlantic menhaden posted this in #help-forum
Atlantic menhadenOP
Hello, I want to know if it is possible to add custom metadatas to file and then upload the file to vercel/blob and then read the metadata after (I already know that vercel has a function to retrieve metadata to a blob). The doc doesn't mention anything about adding metadatas and I think the head function only return this :
{
size:
uploadedAt:
pathname:
contentType:
contentDisposition:
url:
downloadUrl:
cacheControl:
}
If not possible what is the best solution to store user's file with user's informations ?
{
size:
number;uploadedAt:
Date;pathname:
string;contentType:
string;contentDisposition:
string;url:
string;downloadUrl:
stringcacheControl:
string;}
If not possible what is the best solution to store user's file with user's informations ?