Dynamic add peer

Dear Orthanc Community,

Is it possible to add peer without shut down the orthanc server? (thorough jobs?)

Maybe I can set


“OrthancPeersInDatabase” : true,

and modify the database?

I have’t test it yet…

ntus…@gmail.com於 2019年4月10日星期三 UTC+8下午6時32分56秒寫道:

There is a put methode on the peer api,
Not tested yet but that’s in my plan,

Salim

I just test it and I think it works like a charm.

Thanks a lot !

Salim Kanoun於 2019年4月10日星期三 UTC+8下午7時32分05秒寫道:

Just to help me to win some time, could you send me the line of code you have written for this ? (just to get the structure of the input)

Salim, you can find working samples in our public integration tests:
https://bitbucket.org/sjodogne/orthanc-tests/src/93cd4fdd4a67e8f32609c2596810f259d544235b/Tests/Tests.py#lines-1409