Configuring Visits and Protocols

There is no documentation, which there really should be. And there really should a GUI tool for managing those, but there’s not one of those either.

You can find the currently configured IPs on the whitelist by calling:

GET http://xnat-dev02.nrg.mir/data/services/ipwhitelist

Which gives:

10.28.17.84

127.0.0.1

0:0:0:0:0:0:0:1

You can PUT to the same REST address to change the whitelisted IPs:

PUT http://xnat-dev02.nrg.mir/data/services/ipwhitelist

Body:

10.28.17.84
127.0.0.1
0:0:0:0:0:0:0:1
10.28.16.115

And that adds my IP to the IP whitelist.

The payload of IPs on the PUT can be separated by whitespace and/or commas.

$label.name