We have an architecture with orthanc on premise configured with LUA autorouting to send its images to other orthanc in azure, I want to have logs about how much time take bettween the images are available in orthanc on primise and the images are avialable in orthanc azure.
many thanks in advance
Hi,
In the /instances/…/metadata?expand route, you’ll get the instance Reception Date.
HTH
Alain
Someone have an example please?, with “/instances/…/metadata?expand route” what do you mean?, is it a path?, is it a tag?, I would like to have logs about these times in text logs (LUA scripts or others).
Many thanks in advance
Hi Flavio. Let’s say that your Orthanc instance is running under the URL localhost:8042.
Now if you access localhost:8042/instances, you’ll get a list containing the public id of all the instances stored on Orthanc.
Choose a public id from this list, then use it as a path variable to access localhost:8042/instances/PUBLIC ID
Now what you see is the information linked to the instance. From this URI route, there are many others you can access, like /metadata, so now you can access:
localhost:8042/instances/PUBLIC ID/metadata
And see additional info about the instance. Now if you add the request parameter localhost:8042/instances/PUBLIC ID/metadata**?expand**, you get more detailed info.
A terça-feira, 26 de abril de 2022 à(s) 13:26:50 UTC+1, flavio...@gmail.com escreveu: