POST
/
api2
/
v2
/
projects
/
{projectUid}
/
references
Create project reference files
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/references \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=[
  {
    "name": "<string>",
    "bytes": [
      "aSDinaTvuI8gbWludGxpZnk="
    ],
    "empty": true,
    "size": 123,
    "inputStream": {},
    "contentType": "<string>",
    "originalFilename": "<string>"
  }
]' \
  --form 'json={
  "note": "<string>"
}'
{
  "referenceFiles": [
    {
      "id": "<string>",
      "uid": "<string>",
      "filename": "<string>",
      "note": "<string>",
      "dateCreated": "2023-11-07T05:31:56Z",
      "createdBy": {
        "firstName": "<string>",
        "lastName": "<string>",
        "userName": "<string>",
        "email": "<string>",
        "role": "SYS_ADMIN",
        "id": "<string>",
        "uid": "<string>"
      }
    }
  ]
}

Path Parameters

projectUid
string
required

Body

multipart/form-data

Multipart request with files and JSON

The body is of type object.

Response

201
application/json

Created

The response is of type object.