English
cURL
curl --request POST \ --url https://cloud.memsource.com/web/api2/v2/connectors/{connectorId}/folders/{folder}/files/{fileName}/upload \ --header 'Content-Type: multipart/form-data' \ --header 'Memsource: <memsource>' \ --form file='@example-file'
{ "id": "<string>", "createdBy": { "firstName": "<string>", "lastName": "<string>", "userName": "<string>", "email": "<string>", "role": "SYS_ADMIN", "id": "<string>", "uid": "<string>" }, "dateCreated": "2023-11-07T05:31:56Z", "fileName": "<string>", "action": "GUI_UPLOAD" }
Upload a file to a subfolder of the selected connector
multipart/form-data
Mime type of the file to upload
Translated file to upload
successful operation
Show child attributes
SYS_ADMIN
SYS_ADMIN_READ
ADMIN
PROJECT_MANAGER
LINGUIST
GUEST
SUBMITTER
PORTAL_MEMBER
GUI_UPLOAD
GUI_DOWNLOAD
GUI_REIMPORT
GUI_REIMPORT_TARGET
CJ_UPLOAD
CJ_DOWNLOAD
APC_UPLOAD
APC_DOWNLOAD
API_UPLOAD
API_DOWNLOAD
SUBMITTER_PORTAL_DOWNLOAD
Was this page helpful?