All APIs

Upload file(s) to a project

Files View as Markdown

POST/api/project/{projectId}/file

Uploads one or more files tied to a project. Send multipart/form-data with one or more parts named file; each part's filename is kept as the file name (max 100 MB per file). Requires project membership.

Parameters

projectIdintegerpathRequired
ID of the project to attach the uploaded files to. You must be a member of it.

Request body

filefileRequired
The file to upload. Its filename is kept as the file name. Repeat the part to upload several files.

Responses

  • 200Uploaded files
  • 400Invalid multipart payload or quota exceeded
  • 401Authentication is required
  • 403Not a project member
  • 404Project not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.