diff OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4424:83371ccdfe80

openapi documentation is now completed
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Dec 2020 19:28:53 +0100
parents 48303e493135
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Tue Dec 29 16:51:28 2020 +0100
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Tue Dec 29 19:28:53 2020 +0100
@@ -1270,6 +1270,7 @@
                         "bypassing image decoding. This is notably useful to access the source files "
                         "in compressed transfer syntaxes." +
                         std::string(GzipCompression ? " The image is compressed using gzip" : ""))
+        .SetUriArgument("id", "Orthanc identifier of the instance of interest")
         .SetUriArgument("frame", RestApiCallDocumentation::Type_Number, "Index of the frame (starts at `0`)");
 
       if (GzipCompression)
@@ -2917,6 +2918,7 @@
     Register("/instances/{id}/simplified-tags", GetInstanceTags<DicomToJsonFormat_Human>);
     Register("/instances/{id}/frames", ListFrames);
 
+    Register("/instances/{id}/frames/{frame}", RestApi::AutoListChildren);
     Register("/instances/{id}/frames/{frame}/preview", GetImage<ImageExtractionMode_Preview>);
     Register("/instances/{id}/frames/{frame}/rendered", GetRenderedFrame);
     Register("/instances/{id}/frames/{frame}/image-uint8", GetImage<ImageExtractionMode_UInt8>);