https://www.hipchat.com/docs/apiv2/method/send_room_notification
The docs say that attributes can have a url "Url to be opened when a user clicks on the label" but when I specify one, no message is sent to the room.
Here's an example:
{ "style": "application", "url": "https://google.com", "id": "d54efeb7-c5d4-4b75-b8cd-67e395969cb1", "title": "Aut tenetur non labore aliquam sit.", "description": "blah blah blah", "icon": { "url": "http://icons.iconarchive.com/icons/icons8/windows-8/48/Systems-Firefox-icon.png" }, "attributes": [ { "label": "odit", "value": { "url": "http://www.skyscanner.net/static/sites/default/files/australia.jpg", "icon": { "url": "http://icons.iconarchive.com/icons/designbolts/hand-stitched/24/RSS-icon.png" }, "label": "ut", "style": "lozenge-error" } } ] }
Ah, label being defined twice in attributes threw me off. I didn't catch the nesting there. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.