comparison OrthancServer/Sources/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 4699:facea16b055b

added the "Level" argument to "/tools/bulk-content"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Jun 2021 17:58:56 +0200
parents da1edb7d6332
children f0038043fb97 bad8935cd5f2
comparison
equal deleted inserted replaced
4698:d16c3c7f11ef 4699:facea16b055b
425 DocumentModifyOptions(call); 425 DocumentModifyOptions(call);
426 call.GetDocumentation() 426 call.GetDocumentation()
427 .SetTag("System") 427 .SetTag("System")
428 .SetSummary("Modify a set of resources") 428 .SetSummary("Modify a set of resources")
429 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings, 429 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings,
430 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", false) 430 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true)
431 .SetDescription("Start a job that will modify all the DICOM patients, studies, series or instances " 431 .SetDescription("Start a job that will modify all the DICOM patients, studies, series or instances "
432 "whose identifiers are provided in the `Resources` field.") 432 "whose identifiers are provided in the `Resources` field.")
433 .AddAnswerType(MimeType_Json, "The list of all the resources that have been altered by this modification"); 433 .AddAnswerType(MimeType_Json, "The list of all the resources that have been altered by this modification");
434 return; 434 return;
435 } 435 }
483 DocumentAnonymizationOptions(call); 483 DocumentAnonymizationOptions(call);
484 call.GetDocumentation() 484 call.GetDocumentation()
485 .SetTag("System") 485 .SetTag("System")
486 .SetSummary("Anonymize a set of resources") 486 .SetSummary("Anonymize a set of resources")
487 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings, 487 .SetRequestField("Resources", RestApiCallDocumentation::Type_JsonListOfStrings,
488 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", false) 488 "List of the Orthanc identifiers of the patients/studies/series/instances of interest.", true)
489 .SetDescription("Start a job that will anonymize all the DICOM patients, studies, series or instances " 489 .SetDescription("Start a job that will anonymize all the DICOM patients, studies, series or instances "
490 "whose identifiers are provided in the `Resources` field.") 490 "whose identifiers are provided in the `Resources` field.")
491 .AddAnswerType(MimeType_Json, "The list of all the resources that have been created by this anonymization"); 491 .AddAnswerType(MimeType_Json, "The list of all the resources that have been created by this anonymization");
492 return; 492 return;
493 } 493 }