comparison OrthancServer/Sources/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 4694:da1edb7d6332

"/tools/bulk-delete" to delete a group of multiple, unrelated resources at once
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jun 2021 17:37:47 +0200
parents 45bce660ce3a
children facea16b055b
comparison
equal deleted inserted replaced
4693:45bce660ce3a 4694:da1edb7d6332
423 { 423 {
424 OrthancRestApi::DocumentSubmitCommandsJob(call); 424 OrthancRestApi::DocumentSubmitCommandsJob(call);
425 DocumentModifyOptions(call); 425 DocumentModifyOptions(call);
426 call.GetDocumentation() 426 call.GetDocumentation()
427 .SetTag("System") 427 .SetTag("System")
428 .SetSummary("Modify a set of instances") 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.", false)
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");
481 { 481 {
482 OrthancRestApi::DocumentSubmitCommandsJob(call); 482 OrthancRestApi::DocumentSubmitCommandsJob(call);
483 DocumentAnonymizationOptions(call); 483 DocumentAnonymizationOptions(call);
484 call.GetDocumentation() 484 call.GetDocumentation()
485 .SetTag("System") 485 .SetTag("System")
486 .SetSummary("Anonymize a set of instances") 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.", false)
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");