Add a photo or video to a contribution.
Currently the following file formats are supported:
||Unique identifier for the project.|
||Unique identifier for the contribution.|
---XXX--- Content-Disposition: form-data; name="name" Photo of the playground ---XXX--- Content-Disposition: form-data; name="description" It clearly shows that the swing is broken ---XXX--- Content-Disposition: form-data; name="file"; filename="file.png" Content-Type: image/png ---XXX---
The response contains a document attached to the contribution.
|201||The document has been created successfully.|
|404||The project or contribution or document was not found. For security reasons we do not leak information about private projects, hence we don’t confirm existence private projects to unauthorised users.|