English
cURL
curl --request POST \ --url https://cloud.memsource.com/web/api2/v1/connectors/{connectorId}/folders/{folder} \ --header 'Content-Type: multipart/form-data' \ --form 'sourceFileName=<string>' \ --form 'subfolderName=<string>' \ --form 'mimeType=<string>' \ --form 'commitMessage=<string>' \ --form file=@example-file
{ "id": "<string>", "name": "<string>", "folder": "<string>", "encodedName": "<string>", "size": 123, "error": "<string>", "asyncTaskId": "<string>", "errors": { "errors": [ { "code": "<string>", "message": "<string>", "messageCode": "<string>", "args": {}, "skipPrefix": true } ] } }
Upload a file to a subfolder of the selected connector
multipart/form-data
Translated file to upload
Name or ID of the original file
Optional subfolder to upload the file to
Mime type of the file to upload
Commit message for upload to Git, etc.
successful operation
Show child attributes
Was this page helpful?