comparison OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp @ 5740:c93ca8047550

fix priority arg description
author Alain Mazy <am@orthanc.team>
date Mon, 26 Aug 2024 15:36:36 +0200
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5739:66c3ca832741 5740:c93ca8047550
470 "long jobs, as it might lead to network timeouts.", false) 470 "long jobs, as it might lead to network timeouts.", false)
471 .SetRequestField(KEY_ASYNCHRONOUS, RestApiCallDocumentation::Type_Boolean, 471 .SetRequestField(KEY_ASYNCHRONOUS, RestApiCallDocumentation::Type_Boolean,
472 "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately " 472 "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately "
473 "return, reporting the identifier of a job. Prefer this flavor wherever possible.", false) 473 "return, reporting the identifier of a job. Prefer this flavor wherever possible.", false)
474 .SetRequestField(KEY_PRIORITY, RestApiCallDocumentation::Type_Number, 474 .SetRequestField(KEY_PRIORITY, RestApiCallDocumentation::Type_Number,
475 "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.", false) 475 "In asynchronous mode, the priority of the job. The higher the value, the higher the priority.", false)
476 .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "In asynchronous mode, identifier of the job") 476 .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "In asynchronous mode, identifier of the job")
477 .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "In asynchronous mode, path to access the job in the REST API"); 477 .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "In asynchronous mode, path to access the job in the REST API");
478 } 478 }
479 479
480 480