view CodeAnalysis/CustomFunctions.json @ 196:d7a342f10bea java-code-model

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 18:58:25 +0200
parents d7a6e75558ee
children 28531e615104
line wrap: on
line source

[
  {
    "short_name" : "RegisterRestCallback",
    "implementation" : "RegisterRestCallback",
    "documentation" : {
      "description" : [ "Register a REST callback." ],
      "args" : {
        "pathRegularExpression" : "Regular expression for the URI. May contain groups.",
        "callback" : "The callback function to handle the REST call."
      }
    },
    "args" : [
      {
        "sdk_name" : "pathRegularExpression",
        "sdk_type" : "const char *"
      },
      {
        "sdk_name" : "callback",
        "sdk_type" : "Callable",
        "callable_type" : "typing.Callable[[RestOutput, str], None]"
      }
    ],
    "return_sdk_type" : "void"
  },

  {
    "short_name" : "RegisterOnChangeCallback",
    "implementation" : "RegisterOnChangeCallback",
    "documentation" : {
      "description" : [ "Register a callback to monitor changes." ],
      "args" : {
        "callback" : "The callback function."
      }
    },
    "args" : [
      {
        "sdk_name" : "callback",
        "sdk_type" : "Callable",
        "callable_type" : "typing.Callable[[ChangeType, ResourceType, str], None]"
      }
    ],
    "return_sdk_type" : "void"
  }
]