comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4879:c728d8f25e5a

fix doc
author Alain Mazy <am@osimis.io>
date Wed, 19 Jan 2022 17:05:24 +0100
parents 8b51d65584f0
children 81dfdcf16e16
comparison
equal deleted inserted replaced
4863:6cfb9f142bd0 4879:c728d8f25e5a
3392 { 3392 {
3393 OrthancRestApi::DocumentDicomFormat(call, DicomToJsonFormat_Human); 3393 OrthancRestApi::DocumentDicomFormat(call, DicomToJsonFormat_Human);
3394 3394
3395 call.GetDocumentation() 3395 call.GetDocumentation()
3396 .SetTag("System") 3396 .SetTag("System")
3397 .SetSummary("Describe a set of instances") 3397 .SetSummary("Describe a set of resources")
3398 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings, 3398 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings,
3399 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true) 3399 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true)
3400 .SetRequestField(LEVEL, RestApiCallDocumentation::Type_String, 3400 .SetRequestField(LEVEL, RestApiCallDocumentation::Type_String,
3401 "This optional argument specifies the level of interest (can be `Patient`, `Study`, `Series` or " 3401 "This optional argument specifies the level of interest (can be `Patient`, `Study`, `Series` or "
3402 "`Instance`). Orthanc will loop over the items inside `Resources`, and explorer upward or " 3402 "`Instance`). Orthanc will loop over the items inside `Resources`, and explorer upward or "
3568 { 3568 {
3569 if (call.IsDocumentation()) 3569 if (call.IsDocumentation())
3570 { 3570 {
3571 call.GetDocumentation() 3571 call.GetDocumentation()
3572 .SetTag("System") 3572 .SetTag("System")
3573 .SetSummary("Delete a set of instances") 3573 .SetSummary("Delete a set of resources")
3574 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings, 3574 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings,
3575 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true) 3575 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true)
3576 .SetDescription("Delete all the DICOM patients, studies, series or instances " 3576 .SetDescription("Delete all the DICOM patients, studies, series or instances "
3577 "whose identifiers are provided in the `Resources` field."); 3577 "whose identifiers are provided in the `Resources` field.");
3578 return; 3578 return;