comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 5467:68e9f7815fb8

Clarified recycle/reject + protection
author Alain Mazy <am@osimis.io>
date Mon, 18 Dec 2023 09:52:12 +0100
parents 912565317b9a
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5463:8f1a0ba5c759 5467:68e9f7815fb8
340 { 340 {
341 if (call.IsDocumentation()) 341 if (call.IsDocumentation())
342 { 342 {
343 call.GetDocumentation() 343 call.GetDocumentation()
344 .SetTag("Patients") 344 .SetTag("Patients")
345 .SetSummary("Protect one patient against recycling") 345 .SetSummary("Protect/Unprotect a patient against recycling")
346 .SetDescription("Check out configuration options `MaximumStorageSize` and `MaximumPatientCount`") 346 .SetDescription("Protects a patient by sending `1` or `true` in the payload request. "
347 "Unprotects a patient by sending `0` or `false` in the payload requests. "
348 "More info: https://orthanc.uclouvain.be/book/faq/features.html#recycling-protection")
347 .SetUriArgument("id", "Orthanc identifier of the patient of interest"); 349 .SetUriArgument("id", "Orthanc identifier of the patient of interest");
348 return; 350 return;
349 } 351 }
350 352
351 ServerContext& context = OrthancRestApi::GetContext(call); 353 ServerContext& context = OrthancRestApi::GetContext(call);