[#971] How to get a photo of the master?

Migrated from Redmine #971 | Author: Артур Чернієвич
Status: New | Priority: High, I’m very impatient | Created: 2022-11-28


When I get the data about the master, I get the path to the image and not the image URL. I use jsonRPC.
How can I access the photo? Is the photo automatically added to the cache when requesting master data?

Redmine Admin wrote:

Hi, Photo url = your booking site url + path from API

Артур Чернієвич wrote:

Redmine Admin wrote:

Hi, Photo url = your booking site url + path from API

Thank you, it really works!

I would also like to receive the booking site url automatically from the request. How can I get this via jsonRPC?

Артур Чернієвич wrote:

Артур Чернієвич wrote:

Redmine Admin wrote:

Hi, Photo url = your booking site url + path from API

Thank you, it really works!

I would also like to receive the booking site url automatically from the request. How can I get this via jsonRPC?

Please answer me. This is important for me, as we will create an environment where clients can only enter their data from the service and create an application.

Redmine Admin wrote:

there is no API method to get booking site url. Why do you need this as you should know your booking site url already (or at least company login to pass API auth)?

Артур Чернієвич wrote:

You are right, thank you!