Attachments
Upload file
POST
Upload a file. Use the returned token to attach the file to an object (e.g. uploads of an issue).
ApiKeyAuthheader
X-Redmine-API-Key<token>filename?stringFile name
File content
body*unknownapplication/octet-streamThe request has succeeded and a new resource has been created as a result.
application/json- response
upload*Result of uploading a file via POST /uploads.json
curl -X POST 'https://redmine.example.com/uploads.json'{ "upload": { "id": 0, "token": "string" }}