/
manifest.json
60 lines (60 loc) · 1.95 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "Slack App",
"version": "1.0.0",
"overview": "View, monitor, and control flags interactively from our official Slack app.",
"description": "With the LaunchDarkly Slack app, you can view, monitor, and control feature flags directly from your team's Slack workspace. Use the app to find feature flags, subscribe channels to notifications about flag changes, and toggle flags on or off.",
"author": "LaunchDarkly",
"supportEmail": "support@launchdarkly.com",
"links": {
"site": "https://slack.com/apps/AKEEF9DTM-launchdarkly",
"launchdarklyDocs": "https://docs.launchdarkly.com/integrations/slack",
"privacyPolicy": "https://launchdarkly.com/policies/privacy/"
},
"categories": ["messaging"],
"icons": {
"square": "assets/images/square.svg",
"horizontal": "assets/images/horizontal.svg"
},
"legacy": {
"kind": "webhooks"
},
"otherCapabilities": ["webhooks"],
"capabilities": {
"flagLink": {
"header": "Slack conversation",
"emptyState": {
"title": "No Slack conversations link to this flag.",
"leadText": "To enable the Slack integration, [read the documentation](https://docs.launchdarkly.com/home/flags/links#creating-slack-flag-links)"
},
"metadata": {
"avatarUrl": {
"type": "uri"
},
"displayName": {
"type": "string"
},
"channelName": {
"type": "string"
},
"message": {
"type": "string"
}
},
"uiBlocks": {
"image": {
"sourceUrl": "{{{metadata.avatarUrl}}}",
"isAvatar": true
},
"name": "{{{metadata.displayName}}}",
"description": "{{{metadata.message}}}",
"context": {
"elements": [
{ "text": "Posted in" },
{ "text": "#{{{metadata.channelName}}}", "isBold": true },
{ "text": "View message", "url": "{{{deepLink}}}" }
]
}
}
}
}
}