Create an upload
POST
/api/v4/projects/{id}/uploads
Creates an upload.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type multipart/form-data
object
file
required
The attachment file to be uploaded
string format: binary
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
alt
string
url
string
full_path
string
markdown
string
Example
{ "id": 1, "alt": "filename", "url": "/uploads/secret/filename", "full_path": "/-/project/1/uploads/secret/filename", "markdown": "[filename](/uploads/secret/filename)"}Bad Request
Not found