Message: Task Configuration

This message is sent by the server, when it wants to know what properties need to be stored in the configuration, for this plugin.

Request - From the server

Request name: configuration

Request parameters: empty

Request headers: empty

Request body: empty

Response - From the plugin

Expected response body: The plugin is expected to send a response, which contains information about the configuration properties that it wants from the user.

Optional properties are:

  • default-value: [String] A value to be used as the default if the user provides no value.

  • secure: [Boolean] Specifies whether this value needs to be stored in a secure manner in the configuration.

  • required: [Boolean] Specifies whether this is a mandatory field.

Example response:

    "URL": {
        "default-value": "",
        "secure": false,
        "required": true
    "USER": {
        "default-value": "foo",
        "secure": true,
        "required": true
    "PASSWORD": {},
    "FOO": null

Schema information

JSON schema of expected response:

    "title": "Task configuration response schema",
    "description": "Schema for task configuration response Json",
    "type": "object",
    "required" : true,
    "patternProperties": {
        "^[a-zA-Z0-9_-]+$": {
            "type": [
            "properties": {
                "default-value": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_-]+$"
                "secure": {
                    "type": "boolean"
                "required": {
                    "type": "boolean",
            "additionalProperties": false
    "additionalProperties": false

results matching ""

    No results matching ""