edit Orthanc AE title REST API

147 views
Skip to first unread message

pacur...@gmail.com

unread,
Aug 24, 2022, 10:29:43 PM8/24/22
to Orthanc Users
Is it possible to edit the AE title of Orthanc via REST API?
I tried curl PUT for http://localhost:8042/system but not working. 
Worst path is to edit the Orthanc config file and restart the service to take effect, but trying to avoid going that route. 
Any help or idea appreciated. 
Emil

 

James Manners

unread,
Aug 24, 2022, 11:07:32 PM8/24/22
to Orthanc Users
Hi Emil,

You can set custom AE Titles for each modality. So you could change the AET title by updating the modality configuration through the rest API. 
https://api.orthanc-server.com/#tag/Networking/paths/~1modalities~1{id}/put

Hope that helps.

Cheers,

James

Tran Phong

unread,
Aug 25, 2022, 5:46:09 AM8/25/22
to Orthanc Users
I am afraid that feature would not be possible when using REST API. Orthanc AETitle is neither saved in Database, nor changed during runtime. It's always loaded static from the configuration file.

pacur...@gmail.com

unread,
Aug 25, 2022, 1:30:05 PM8/25/22
to Orthanc Users
Thanks  James, I think that will do. I will give it a try. Thanks again

pacur...@gmail.com

unread,
Aug 25, 2022, 3:04:28 PM8/25/22
to Orthanc Users
yep, modifying the local AE title does the job for the node. thanks
Reply all
Reply to author
Forward
0 new messages