[#1133] How to use File Uploader via JSONRpc API

Migrated from Redmine #1133 | Author: Henning Künne
Status: New | Priority: High, I’m very impatient | Created: 2023-12-13


Hello,

i need some hints on how to use the File Uploader plugin via API.

My guess is that i have to upload the file to Google Drive by myself and than add the file id returned by the Google API as value for the additional field that is the File Uploader.

Can you confirm this or is there another way to do it?

Regards, Henning

Redmine Admin wrote:

hi, there is no API to use file uploader

Henning Künne wrote:

So you mean it is not possible in any way to add an image to the booking via API, correct?

My assumption was i upload a file to google drive and provide a share link to the API as value of the additional field the file uploader is related to.

Redmine Admin wrote:

yes, it is not possible for now

Hi, is there an update on this, can a file be uploaded now via JSONRpc API ?

File upload is not available within our JSON RPC API, however it is supported by the REST API. We are working on a new version of documentation for the APIs, soon to be deployed to public