comparison OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp @ 4413:22a1352a0823

cont openapi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 Dec 2020 13:08:00 +0100
parents f34634916d8c
children cd96c807ca3d
comparison
equal deleted inserted replaced
4412:68b96234fbd6 4413:22a1352a0823
154 .AddAnswerType(MimeType_Json, "Information about the uploaded instance, " 154 .AddAnswerType(MimeType_Json, "Information about the uploaded instance, "
155 "or list of information for each uploaded instance in the case of ZIP archive") 155 "or list of information for each uploaded instance in the case of ZIP archive")
156 .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "Orthanc identifier of the new instance") 156 .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "Orthanc identifier of the new instance")
157 .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "Path to the new instance in the REST API") 157 .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "Path to the new instance in the REST API")
158 .SetAnswerField("Status", RestApiCallDocumentation::Type_String, "Can be `Success`, `AlreadyStored`, `Failure`, or `FilteredOut` (removed by some `NewInstanceFilter`)") 158 .SetAnswerField("Status", RestApiCallDocumentation::Type_String, "Can be `Success`, `AlreadyStored`, `Failure`, or `FilteredOut` (removed by some `NewInstanceFilter`)")
159 .SetAnswerField("ParentPatient", RestApiCallDocumentation::Type_String, "Orthanc identifier of the parent patient")
160 .SetAnswerField("ParentStudy", RestApiCallDocumentation::Type_String, "Orthanc identifier of the parent study")
161 .SetAnswerField("ParentSeries", RestApiCallDocumentation::Type_String, "Orthanc identifier of the parent series")
159 .SetSample(sample); 162 .SetSample(sample);
160 return; 163 return;
161 } 164 }
162 165
163 ServerContext& context = OrthancRestApi::GetContext(call); 166 ServerContext& context = OrthancRestApi::GetContext(call);