Mercurial > hg > orthanc-authorization
changeset 227:7e20e8a29e6d
Added support for /dicom-web/studies/../thumbnail
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 17 Apr 2025 12:58:02 +0200 |
parents | d46646af72d3 |
children | add4f4c0cf7e |
files | NEWS Plugin/DefaultAuthorizationParser.cpp |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Tue Apr 15 11:23:45 2025 +0200 +++ b/NEWS Thu Apr 17 12:58:02 2025 +0200 @@ -1,3 +1,9 @@ +Pending changes +=============== + +* Added support for /dicom-web/studies/../thumbnail. + + 2025-04-01 - v 0.9.1 ====================
--- a/Plugin/DefaultAuthorizationParser.cpp Tue Apr 15 11:23:45 2025 +0200 +++ b/Plugin/DefaultAuthorizationParser.cpp Thu Apr 17 12:58:02 2025 +0200 @@ -47,13 +47,13 @@ // note: if you add new DICOMWeb routes here, add them in the DefaultConfiguration.json too dicomWebStudies_ = boost::regex( - "^" + tmp + "/studies/([.0-9]+)(|/series|/metadata|/instances)(|/)$"); + "^" + tmp + "/studies/([.0-9]+)(|/series|/metadata|/instances|/rendered|/thumbnail)(|/)$"); dicomWebSeries_ = boost::regex( - "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)(|/instances|/rendered|/metadata)(|/)$"); + "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)(|/instances|/rendered|/thumbnail|/metadata)(|/)$"); dicomWebInstances_ = boost::regex( - "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)/instances/([.0-9]+)(|/|/frames/.*|/rendered|/metadata|/bulk/.*)(|/)$"); + "^" + tmp + "/studies/([.0-9]+)/series/([.0-9]+)/instances/([.0-9]+)(|/|/frames/.*|/rendered|/thumbnail|/metadata|/bulk/.*)(|/)$"); dicomWebQidoRsFind_ = boost::regex( "^" + tmp + "/(studies|series|instances)(|/)$");