PersistentAI API Documentation / @persistentai/fireflow-vfs / server / uploadObjectWithContentType
Function: uploadObjectWithContentType()
uploadObjectWithContentType(
repoName,branch,path,content,contentType?):Promise<ObjectStats>
Defined in: packages/fireflow-vfs/src/steps/lakefs-steps.ts:203
Upload object content with explicit content type
Similar to uploadObject but allows specifying the MIME type. Used for system files like action configurations.
Parameters
repoName
string
lakeFS repository name
branch
string
Branch name
path
string
Target path in the repository
content
string
String content to upload
contentType?
string = 'application/octet-stream'
MIME type (default: application/octet-stream)
Returns
Promise<ObjectStats>
ObjectStats with full metadata