Slide 35
Slide 35 text
Atlassian Connect descriptor
{
"key": "weather-tutorial-addon",
"name": "Weather",
"description": "A simple add-on to get the weather.",
"vendor": {
"name": "Ralph Whitbeck",
"url": "https://www.hipchat.com"
},
"links": {
"self": "{{localBaseUrl}}/atlassian-connect.json",
"homepage": "{{localBaseUrl}}/atlassian-connect.json"
},
"capabilities": {
"hipchatApiConsumer": {
"scopes": [
"send_notification"
]
},
"installable": {
"callbackUrl": "{{localBaseUrl}}/installable"
},
"webhook": {
"url": "{{localBaseUrl}}/webhook",
"pattern": "^/weather",
"event": "room_message",
"name": "Get Weather"
}
}
}
{
"name": "Hello World",
"description": "Atlassian Connect add-on",
"key": "com.example.myaddon",
"baseUrl": "Your baseURL here",
"vendor": {
"name": "Example, Inc.",
"url": "http://example.com"
},
"authentication": {
"type": "none"
},
"version": "1.0",
"modules": {
"generalPages": [
{
"url": "/helloworld.html",
"key": "hello-world",
"name": {
"value": "Greeting"
}
}
]
}
}