comparison CodeAnalysis/CustomFunctions.json @ 212:2db6c1f6417f

documented orthanc.RegisterStorageArea()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jul 2024 14:39:25 +0200
parents d7acfccc0d0b
children f8dc8dd2da76
comparison
equal deleted inserted replaced
211:d7acfccc0d0b 212:2db6c1f6417f
259 "callable_protocol_args" : "answers: WorklistAnswers, query: WorklistQuery, issuer_aet: str, called_aet: str", 259 "callable_protocol_args" : "answers: WorklistAnswers, query: WorklistQuery, issuer_aet: str, called_aet: str",
260 "callable_protocol_return" : "None" 260 "callable_protocol_return" : "None"
261 } 261 }
262 ], 262 ],
263 "return_sdk_type" : "void" 263 "return_sdk_type" : "void"
264 },
265
266 {
267 "comment" : "New in release 3.3",
268 "short_name" : "RegisterStorageArea",
269 "implementation" : "RegisterStorageArea",
270 "documentation" : {
271 "description" : [ "Register a custom storage area." ],
272 "args" : {
273 "create" : "The callback function to store a file on the custom storage area.",
274 "read" : "The callback function to read a file from the custom storage area.",
275 "remove" : "The callback function to remove a file from the custom storage area."
276 }
277 },
278 "args" : [
279 {
280 "sdk_name" : "create",
281 "sdk_type" : "Callable",
282 "callable_type" : "StorageCreateCallback",
283 "callable_protocol_args" : "uuid: str, content_type: ContentType, data: bytes",
284 "callable_protocol_return" : "None"
285 },
286 {
287 "sdk_name" : "read",
288 "sdk_type" : "Callable",
289 "callable_type" : "StorageReadCallback",
290 "callable_protocol_args" : "uuid: str, content_type: ContentType",
291 "callable_protocol_return" : "bytes"
292 },
293 {
294 "sdk_name" : "remove",
295 "sdk_type" : "Callable",
296 "callable_type" : "StorageRemoveCallback",
297 "callable_protocol_args" : "uuid: str, content_type: ContentType",
298 "callable_protocol_return" : "None"
299 }
300 ],
301 "return_sdk_type" : "void"
264 } 302 }
265 ] 303 ]