Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "client": {
- "host": "::ffff:172.18.0.1"
- },
- "server": {
- "current_time": 1580287596,
- "services": [
- {
- "name": "clock",
- "backgroundColor": "74e391",
- "displayName": "Clock",
- "description": "This widget give you the time.",
- "oauth": "no",
- "actions": [
- {
- "name": "onTime",
- "displayName": "Time Trigger",
- "description": "Will trigger on a selected time",
- "options": [
- {
- "name": "time",
- "displayName": "Time",
- "type": "time",
- "acceptedValues": "HH:MM"
- }
- ]
- }
- ],
- "reactions": []
- },
- {
- "name": "webHook",
- "backgroundColor": "7fcde3",
- "displayName": "Web hook",
- "description": "This allow you to manage your web functionnalities.",
- "oauth": "no",
- "actions": [
- {
- "name": "onHookCalled",
- "displayName": "On load URL",
- "description": "Load the http://localhost:8080/hook/[your hook key] to trigger the action",
- "options": [
- {
- "name": "url",
- "displayName": "URL Key",
- "type": "string",
- "acceptedValues": "any"
- }
- ]
- }
- ],
- "reactions": [
- {
- "name": "loadPage",
- "displayName": "Load URL",
- "description": "Will send a request on the designated URL",
- "options": [
- {
- "name": "url",
- "displayName": "URL",
- "type": "string",
- "acceptedValues": "any"
- }
- ]
- }
- ]
- },
- {
- "name": "googleAgenda",
- "backgroundColor": "e88291",
- "displayName": "Google Agenda",
- "description": "This allow you to manage your google agenda and maybe to link it to every other agenda you've got.",
- "oauth": "google",
- "actions": [
- {
- "name": "onEventInGoogleAgenda",
- "displayName": "Incomming event in Google Agenda",
- "description": "Will be triggered when an event will start in less than one hour",
- "options": [
- {
- "name": "timeRange",
- "displayName": "Time range (in hours)",
- "type": "number",
- "acceptedValues": {
- "min": 0,
- "max": "infinite"
- }
- }
- ]
- }
- ],
- "reactions": []
- },
- {
- "name": "imgur",
- "backgroundColor": "bf8bf7",
- "description": "Imgur social network",
- "displayName": "Imgur",
- "oauth": "imgur",
- "actions": [],
- "reactions": [
- {
- "name": "doLikeImage",
- "description": "Like image on Imgur",
- "displayName": "Like Image",
- "options": [
- {
- "name": "imageId",
- "displayName": "Image ID",
- "type": "string",
- "acceptedValues": "any"
- }
- ]
- },
- {
- "name": "doCommentImage",
- "description": "Comment an image on Imgur",
- "displayName": "Comment Image",
- "options": [
- {
- "name": "imageId",
- "displayName": "Image ID",
- "type": "string",
- "acceptedValues": "any"
- },
- {
- "name": "comment",
- "displayName": "Comment",
- "type": "string",
- "acceptedValues": "any"
- }
- ]
- }
- ]
- },
- {
- "name": "bitcoin",
- "displayName": "Bitcoin",
- "oauth": "no",
- "description": "Bitcoin related actions",
- "backgroundColor": "fad58c",
- "actions": [
- {
- "name": "onBtcPrice",
- "displayName": "Bitcoin price range",
- "description": "Will be triggered if the bitcoin price goes out of the selected range",
- "options": [
- {
- "name": "range",
- "displayName": "Range (in $)",
- "acceptedValues": {
- "min": 0,
- "max": "infinite"
- },
- "type": "number"
- }
- ]
- }
- ],
- "reactions": []
- },
- {
- "name": "weather",
- "displayName": "Weather",
- "description": "Weather actions, about sun, wind, temperatures...",
- "backgroundColor": "8d91f0",
- "oauth": "no",
- "actions": [
- {
- "name": "onRain",
- "displayName": "On rain",
- "description": "Will be triggered if it rains",
- "options": [
- {
- "name": "city",
- "displayName": "City",
- "acceptedValues": "any",
- "type": "string"
- }
- ]
- },
- {
- "name": "onWind",
- "displayName": "On Wind",
- "description": "Will be triggered when the wind goes out a range",
- "options": [
- {
- "name": "city",
- "displayName": "City",
- "acceptedValues": "any",
- "type": "string"
- },
- {
- "name": "maxWind",
- "displayName": "Max wind",
- "type": "number",
- "acceptedValues": {
- "min": 0,
- "max": "infinite"
- }
- }
- ]
- },
- {
- "name": "onTemperature",
- "displayName": "On Temperature",
- "description": "Will be triggered when the temperature goes out a range",
- "options": [
- {
- "name": "city",
- "displayName": "City",
- "acceptedValues": "any",
- "type": "string"
- },
- {
- "name": "minTemp",
- "displayName": "Min temperature",
- "type": "number",
- "acceptedValues": {
- "min": "infinite",
- "max": "infinite"
- }
- },
- {
- "name": "maxTemp",
- "displayName": "Max temperature",
- "type": "number",
- "acceptedValues": {
- "min": "infinite",
- "max": "infinite"
- }
- }
- ]
- }
- ],
- "reactions": []
- },
- {
- "name": "yammer",
- "displayName": "Yammer",
- "description": "Yammer corporate social network",
- "backgroundColor": "0078D4",
- "oauth": "yammer",
- "actions": [
- {
- "name": "onNewYammerPrivateMessage",
- "displayName": "On send a private message",
- "description": "Will trigger when the user recived a new private message on yammer",
- "options": []
- },
- {
- "name": "onSendYammerPrivateMessage",
- "displayName": "On recive a private message",
- "description": "Will trigger when the user sends a new private message on yammer",
- "options": []
- }
- ],
- "reactions": []
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement