All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.syndesis.connector.box.json Maven / Gradle / Ivy

{
  "actions": [
    {
      "actionType": "connector",
      "description": "Upload a file to Box",
      "descriptor": {
        "componentScheme": "box",
        "configuredProperties": {
          "apiName": "files",
          "inBody": "content",
          "methodName": "upload"
        },
        "inputDataShape": {
          "kind": "any"
        },
        "outputDataShape": {
          "kind": "none"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Upload a file to Box",
            "name": "Upload a file to Box",
            "properties": {
              "parentFolderId": {
                "defaultValue": "0",
                "deprecated": false,
                "displayName": "Parent folder ID",
                "group": "producer",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "Parent folder ID to upload the file to",
                "order": "1",
                "required": true,
                "secret": false,
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:box-upload-connector",
      "name": "Upload",
      "pattern": "To"
    },
    {
      "actionType": "connector",
      "description": "Download from Box",
      "descriptor": {
        "component-scheme": "box",
        "configuredProperties": {
          "apiName": "files",
          "inBody": "output",
          "methodName": "download"
        },
        "connectorCustomizers": [
          "io.syndesis.connector.box.customizer.BoxDownloadCustomizer"
        ],
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "kind": "java",
          "name": "DownloadedFile",
          "type": "io.syndesis.connector.box.BoxFile"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Download from Box",
            "name": "Download from Box",
            "properties": {
              "fileId": {
                "deprecated": false,
                "displayName": "File ID",
                "group": "producer",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "File ID to download",
                "required": true,
                "secret": false,
                "type": "string"
              },
              "encoding": {
                "defaultValue": "UTF-8",
                "deprecated": false,
                "displayName": "File encoding",
                "group": "producer",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "Encoding of the file content",
                "required": true,
                "secret": false,
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:box-download-connector",
      "name": "Download",
      "pattern": "To"
    }
  ],
  "componentScheme": "box",
  "configuredProperties": {
    "authenticationType": "STANDARD_AUTHENTICATION"
  },
  "connectorFactory": "io.syndesis.connector.box.BoxConnectorFactory",
  "dependencies": [
    {
      "id": "@project.groupId@:@project.artifactId@:@project.version@",
      "type": "MAVEN"
    }
  ],
  "description": "Download and upload files.",
  "icon": "assets:box.png",
  "id": "box",
  "metadata": {
    "tech-preview": true
  },
  "name": "Box",
  "properties": {
    "authenticationType": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Authentication type",
      "group": "common,security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "The type of authentication for connection",
      "required": true,
      "secret": false,
      "type": "hidden"
    },
    "clientId": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Client ID",
      "group": "common,security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "Box application client ID",
      "order": "3",
      "required": true,
      "secret": false,
      "type": "string"
    },
    "clientSecret": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Client secret",
      "group": "common,security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "Box application client secret",
      "order": "4",
      "required": true,
      "secret": true,
      "type": "string"
    },
    "userName": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "User name",
      "group": "common,security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "Box user name",
      "order": "1",
      "required": true,
      "secret": false,
      "type": "string"
    },
    "userPassword": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "User password",
      "group": "common,security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "Box user password",
      "order": "2",
      "required": true,
      "secret": true,
      "type": "string"
    }
  },
  "tags": [
    "verifier"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy