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

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

There is a newer version: 1.13.2
Show newest version
{
  "actions": [
    {
      "actionType": "connector",
      "description": "Search for tweets that mention you.",
      "descriptor": {
        "componentScheme": "twitter-timeline",
        "configuredProperties": {
          "delay": "30000",
          "timelineType": "MENTIONS"
        },
        "connectorCustomizers": [
          "io.syndesis.connector.twitter.TwitterCustomizer"
        ],
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "description": "Search result for tweets that mention you. The object represents one single status of a user",
          "kind": "java",
          "name": "Twitter Mention",
          "type": "twitter4j.Status"
        },
        "propertyDefinitionSteps": []
      },
      "id": "io.syndesis:twitter-mention-action",
      "name": "Mention",
      "pattern": "From"
    },
    {
      "actionType": "connector",
      "description": "Search for tweets that contain text that you specify.",
      "descriptor": {
        "componentScheme": "twitter-search",
        "configuredProperties": {},
        "connectorCustomizers": [
          "io.syndesis.connector.twitter.TwitterCustomizer"
        ],
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "description": "Search result for tweets that contain text that you specify. The object represents one single status of a user",
          "kind": "java",
          "name": "Twitter Search",
          "type": "twitter4j.Status"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Specify criteria for search",
            "name": "Search criteria",
            "properties": {
              "delay": {
                "componentProperty": false,
                "defaultValue": 5000,
                "deprecated": false,
                "displayName": "Delay",
                "group": "scheduler",
                "javaType": "long",
                "kind": "parameter",
                "label": "consumer,scheduler",
                "labelHint": "Time delay before the next poll.",
                "required": false,
                "secret": false,
                "tags": [],
                "type": "duration"
              },
              "filterOld": {
                "componentProperty": false,
                "defaultValue": true,
                "deprecated": false,
                "displayName": "Ignore tweets previously found",
                "group": "filter",
                "javaType": "boolean",
                "kind": "parameter",
                "label": "consumer,filter",
                "labelHint": "Do not return tweets that have been found in a previous poll.",
                "required": false,
                "secret": false,
                "tags": [],
                "type": "boolean"
              },
              "keywords": {
                "componentProperty": false,
                "deprecated": false,
                "displayName": "Query",
                "group": "common",
                "javaType": "java.lang.String",
                "kind": "path",
                "labelHint": "Twittter-format search expression, for example: \"My Product\" returns tweets that contain exactly My Product.",
                "required": true,
                "secret": false,
                "tags": [],
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:twitter-search-action",
      "name": "Search",
      "pattern": "From"
    },
    {
      "actionType": "connector",
      "description": "Retrieve direct messages of the last 30 days.",
      "descriptor": {
        "componentScheme": "twitter-directmessage",
        "configuredProperties": {
          "delay": "30000"
        },
        "connectorCustomizers": [
          "io.syndesis.connector.twitter.RetrieveDirectMessageCustomizer",
          "io.syndesis.connector.twitter.TwitterCustomizer"
        ],
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "description": "Retrieve direct messages of the last 30 days. The object represents one single message.",
          "kind": "java",
          "name": "Twitter Direct Message",
          "type": "io.syndesis.connector.twitter.DirectMessage"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Specify options for direct messages",
            "name": "Retrieve options",
            "properties": {
              "count": {
                "componentProperty": false,
                "defaultValue": 100,
                "deprecated": false,
                "displayName": "Count",
                "group": "common",
                "javaType": "long",
                "kind": "parameter",
                "labelHint": "A number that affects internal behavior. You should not need to change it but if you do, never set it to less than 50.",
                "required": false,
                "secret": false,
                "tags": [],
                "type": "long"
              },
              "delay": {
                "componentProperty": false,
                "defaultValue": 5000,
                "deprecated": false,
                "displayName": "Delay",
                "group": "scheduler",
                "javaType": "long",
                "kind": "parameter",
                "label": "consumer,scheduler",
                "labelHint": "Delay before the next poll. There are Twitter rate limits, do not set a low value.",
                "required": false,
                "secret": false,
                "tags": [],
                "type": "duration"
              },
              "filterOld": {
                "componentProperty": false,
                "defaultValue": true,
                "deprecated": false,
                "displayName": "Ignore direct messages previously found",
                "group": "filter",
                "javaType": "boolean",
                "kind": "parameter",
                "label": "consumer,filter",
                "labelHint": "Do not return messages that have been returned previously.",
                "required": false,
                "secret": false,
                "tags": [],
                "type": "boolean"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:twitter-directmessage-retrieve-action",
      "name": "Retrieve",
      "pattern": "From"
    },
    {
      "actionType": "connector",
      "description": "Send a direct message.",
      "descriptor": {
        "componentScheme": "twitter-directmessage",
        "configuredProperties": {},
        "connectorCustomizers": [
          "io.syndesis.connector.twitter.SendDirectMessageCustomizer",
          "io.syndesis.connector.twitter.TwitterCustomizer"
        ],
        "inputDataShape": {
          "kind": "java",
          "name": "Message",
          "type": "io.syndesis.connector.twitter.DirectMessageText"
        },
        "outputDataShape": {
          "kind": "none"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Specify options for direct messages",
            "name": "Send options",
            "properties": {
              "message": {
                "componentProperty": false,
                "deprecated": false,
                "displayName": "Default message",
                "javaType": "String",
                "kind": "parameter",
                "labelHint": "Custom message to use if there is no incoming message from a previous step.",
                "required": true,
                "tags": [],
                "type": "string"
              },
              "user": {
                "componentProperty": false,
                "deprecated": false,
                "displayName": "User",
                "javaType": "String",
                "kind": "parameter",
                "labelHint": "Send the direct message to this Twitter username.",
                "required": true,
                "tags": [],
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:twitter-directmessage-send-action",
      "name": "Send",
      "pattern": "To"
    }
  ],
  "configuredProperties": {},
  "dependencies": [
    {
      "id": "@project.groupId@:@project.artifactId@:@project.version@",
      "type": "MAVEN"
    }
  ],
  "description": "Trigger integrations based on tweet content.",
  "icon": "assets:twitter.svg",
  "id": "twitter",
  "name": "Twitter",
  "properties": {
    "accessToken": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Access Token",
      "group": "security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "The access token",
      "required": true,
      "secret": true,
      "tags": [],
      "type": "string"
    },
    "accessTokenSecret": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Access Token Secret",
      "group": "security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "The access token secret",
      "required": true,
      "secret": true,
      "tags": [],
      "type": "string"
    },
    "consumerKey": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Consumer API Key",
      "group": "security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "The Consumer API key that Twitter provides when you register a client application.",
      "order": 1,
      "required": true,
      "secret": true,
      "tags": [
        "oauth-client-id"
      ],
      "type": "string"
    },
    "consumerSecret": {
      "componentProperty": true,
      "deprecated": false,
      "displayName": "Consumer API Secret Key",
      "group": "security",
      "javaType": "java.lang.String",
      "kind": "property",
      "label": "security",
      "labelHint": "The Consumer API secret key that Twitter provides when you register a client application.",
      "order": 2,
      "required": true,
      "secret": true,
      "tags": [
        "oauth-client-secret"
      ],
      "type": "string"
    }
  },
  "tags": [
    "verifier"
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy