Hello everyone,
Currently I use webhooks for Octopus deployment going to Teams Channel.
I need to move this over to WorkFlows.
I have grab and modified the card structuire from here but I cannot work out how to package the payload to execute from Postman.
{
"type": "AdaptiveCard",
"body": [
{
"type": "Image",
"url": "https://a.storyblok.com/f/92909/x/084296103a/logo-blue_140px_rgb.svg",
"size": "Small"
},
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "${title}",
"style": "heading",
"wrap": true
},
{
"type": "TextBlock",
"text": "${description}",
"wrap": true
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "View",
"url": "${viewUrl}",
"role": "Button",
"style": "positive"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5"
}
Could someone help a learner sort the payload?