Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.72 KB | None | 0 0
  1. {
  2.     "client": {
  3.         "host": "::ffff:172.18.0.1"
  4.     },
  5.     "server": {
  6.         "current_time": 1580287596,
  7.         "services": [
  8.             {
  9.                 "name": "clock",
  10.                 "backgroundColor": "74e391",
  11.                 "displayName": "Clock",
  12.                 "description": "This widget give you the time.",
  13.                 "oauth": "no",
  14.                 "actions": [
  15.                     {
  16.                         "name": "onTime",
  17.                         "displayName": "Time Trigger",
  18.                         "description": "Will trigger on a selected time",
  19.                         "options": [
  20.                             {
  21.                                 "name": "time",
  22.                                 "displayName": "Time",
  23.                                 "type": "time",
  24.                                 "acceptedValues": "HH:MM"
  25.                             }
  26.                         ]
  27.                     }
  28.                 ],
  29.                 "reactions": []
  30.             },
  31.             {
  32.                 "name": "webHook",
  33.                 "backgroundColor": "7fcde3",
  34.                 "displayName": "Web hook",
  35.                 "description": "This allow you to manage your web functionnalities.",
  36.                 "oauth": "no",
  37.                 "actions": [
  38.                     {
  39.                         "name": "onHookCalled",
  40.                         "displayName": "On load URL",
  41.                         "description": "Load the http://localhost:8080/hook/[your hook key] to trigger the action",
  42.                         "options": [
  43.                             {
  44.                                 "name": "url",
  45.                                 "displayName": "URL Key",
  46.                                 "type": "string",
  47.                                 "acceptedValues": "any"
  48.                             }
  49.                         ]
  50.                     }
  51.                 ],
  52.                 "reactions": [
  53.                     {
  54.                         "name": "loadPage",
  55.                         "displayName": "Load URL",
  56.                         "description": "Will send a request on the designated URL",
  57.                         "options": [
  58.                             {
  59.                                 "name": "url",
  60.                                 "displayName": "URL",
  61.                                 "type": "string",
  62.                                 "acceptedValues": "any"
  63.                             }
  64.                         ]
  65.                     }
  66.                 ]
  67.             },
  68.             {
  69.                 "name": "googleAgenda",
  70.                 "backgroundColor": "e88291",
  71.                 "displayName": "Google Agenda",
  72.                 "description": "This allow you to manage your google agenda and maybe to link it to every other agenda you've got.",
  73.                 "oauth": "google",
  74.                 "actions": [
  75.                     {
  76.                         "name": "onEventInGoogleAgenda",
  77.                         "displayName": "Incomming event in Google Agenda",
  78.                         "description": "Will be triggered when an event will start in less than one hour",
  79.                         "options": [
  80.                             {
  81.                                 "name": "timeRange",
  82.                                 "displayName": "Time range (in hours)",
  83.                                 "type": "number",
  84.                                 "acceptedValues": {
  85.                                     "min": 0,
  86.                                     "max": "infinite"
  87.                                 }
  88.                             }
  89.                         ]
  90.                     }
  91.                 ],
  92.                 "reactions": []
  93.             },
  94.             {
  95.                 "name": "imgur",
  96.                 "backgroundColor": "bf8bf7",
  97.                 "description": "Imgur social network",
  98.                 "displayName": "Imgur",
  99.                 "oauth": "imgur",
  100.                 "actions": [],
  101.                 "reactions": [
  102.                     {
  103.                         "name": "doLikeImage",
  104.                         "description": "Like image on Imgur",
  105.                         "displayName": "Like Image",
  106.                         "options": [
  107.                             {
  108.                                 "name": "imageId",
  109.                                 "displayName": "Image ID",
  110.                                 "type": "string",
  111.                                 "acceptedValues": "any"
  112.                             }
  113.                         ]
  114.                     },
  115.                     {
  116.                         "name": "doCommentImage",
  117.                         "description": "Comment an image on Imgur",
  118.                         "displayName": "Comment Image",
  119.                         "options": [
  120.                             {
  121.                                 "name": "imageId",
  122.                                 "displayName": "Image ID",
  123.                                 "type": "string",
  124.                                 "acceptedValues": "any"
  125.                             },
  126.                             {
  127.                                 "name": "comment",
  128.                                 "displayName": "Comment",
  129.                                 "type": "string",
  130.                                 "acceptedValues": "any"
  131.                             }
  132.                         ]
  133.                     }
  134.                 ]
  135.             },
  136.             {
  137.                 "name": "bitcoin",
  138.                 "displayName": "Bitcoin",
  139.                 "oauth": "no",
  140.                 "description": "Bitcoin related actions",
  141.                 "backgroundColor": "fad58c",
  142.                 "actions": [
  143.                     {
  144.                         "name": "onBtcPrice",
  145.                         "displayName": "Bitcoin price range",
  146.                         "description": "Will be triggered if the bitcoin price goes out of the selected range",
  147.                         "options": [
  148.                             {
  149.                                 "name": "range",
  150.                                 "displayName": "Range (in $)",
  151.                                 "acceptedValues": {
  152.                                     "min": 0,
  153.                                     "max": "infinite"
  154.                                 },
  155.                                 "type": "number"
  156.                             }
  157.                         ]
  158.                     }
  159.                 ],
  160.                 "reactions": []
  161.             },
  162.             {
  163.                 "name": "weather",
  164.                 "displayName": "Weather",
  165.                 "description": "Weather actions, about sun, wind, temperatures...",
  166.                 "backgroundColor": "8d91f0",
  167.                 "oauth": "no",
  168.                 "actions": [
  169.                     {
  170.                         "name": "onRain",
  171.                         "displayName": "On rain",
  172.                         "description": "Will be triggered if it rains",
  173.                         "options": [
  174.                             {
  175.                                 "name": "city",
  176.                                 "displayName": "City",
  177.                                 "acceptedValues": "any",
  178.                                 "type": "string"
  179.                             }
  180.                         ]
  181.                     },
  182.                     {
  183.                         "name": "onWind",
  184.                         "displayName": "On Wind",
  185.                         "description": "Will be triggered when the wind goes out a range",
  186.                         "options": [
  187.                             {
  188.                                 "name": "city",
  189.                                 "displayName": "City",
  190.                                 "acceptedValues": "any",
  191.                                 "type": "string"
  192.                             },
  193.                             {
  194.                                 "name": "maxWind",
  195.                                 "displayName": "Max wind",
  196.                                 "type": "number",
  197.                                 "acceptedValues": {
  198.                                     "min": 0,
  199.                                     "max": "infinite"
  200.                                 }
  201.                             }
  202.                         ]
  203.                     },
  204.                     {
  205.                         "name": "onTemperature",
  206.                         "displayName": "On Temperature",
  207.                         "description": "Will be triggered when the temperature goes out a range",
  208.                         "options": [
  209.                             {
  210.                                 "name": "city",
  211.                                 "displayName": "City",
  212.                                 "acceptedValues": "any",
  213.                                 "type": "string"
  214.                             },
  215.                             {
  216.                                 "name": "minTemp",
  217.                                 "displayName": "Min temperature",
  218.                                 "type": "number",
  219.                                 "acceptedValues": {
  220.                                     "min": "infinite",
  221.                                     "max": "infinite"
  222.                                 }
  223.                             },
  224.                             {
  225.                                 "name": "maxTemp",
  226.                                 "displayName": "Max temperature",
  227.                                 "type": "number",
  228.                                 "acceptedValues": {
  229.                                     "min": "infinite",
  230.                                     "max": "infinite"
  231.                                 }
  232.                             }
  233.                         ]
  234.                     }
  235.                 ],
  236.                 "reactions": []
  237.             },
  238.             {
  239.                 "name": "yammer",
  240.                 "displayName": "Yammer",
  241.                 "description": "Yammer corporate social network",
  242.                 "backgroundColor": "0078D4",
  243.                 "oauth": "yammer",
  244.                 "actions": [
  245.                     {
  246.                         "name": "onNewYammerPrivateMessage",
  247.                         "displayName": "On send a private message",
  248.                         "description": "Will trigger when the user recived a new private message on yammer",
  249.                         "options": []
  250.                     },
  251.                     {
  252.                         "name": "onSendYammerPrivateMessage",
  253.                         "displayName": "On recive a private message",
  254.                         "description": "Will trigger when the user sends a new private message on yammer",
  255.                         "options": []
  256.                     }
  257.                 ],
  258.                 "reactions": []
  259.             }
  260.         ]
  261.     }
  262. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement