POST
/
api2
/
v1
/
files
Upload file
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/files \
  --header 'Content-Disposition: <content-disposition>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>"
}'
{
  "uid": "<string>",
  "name": "<string>",
  "size": 123,
  "type": "<string>"
}

Headers

Content-Disposition
string
required

must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)

Body

file

The body is of type object.

Response

201
application/json

Created

The response is of type object.