VeeamNotify icon indicating copy to clipboard operation
VeeamNotify copied to clipboard

[FEAT] New service: webex

Open kikanq opened this issue 7 months ago • 8 comments

Is your feature request related to a problem?

hello, how to integrate it with webex in the company?

Describe your ideal solution

Definition of done

Stretch

Further comments

kikanq avatar Jan 13 '24 10:01 kikanq

Looking at the Webex incoming webhook docs, it seems to accept Markdown.

This will be quite simple to add support for, I'll see if I can look into it once #63 is merged since support for Webex will look very similar to that. Alternatively, if you need this quickly, you're welcome to submit your own pull request with the necessary changes.

tigattack avatar Jan 13 '24 13:01 tigattack

Hi ! I am not a programmer and it will be difficult for me to understand some phrases, so I will write what I managed to do after your answer. I managed to connect weebhook to my company account - I created a room in my webex and completed all the fields in the weebhook integration, and obtained the weebhook address for my connection with webex. Does the next step require improving the code for the weebex application?

kikanq avatar Jan 14 '24 08:01 kikanq

the code below when invoked locally on my laptop works (of course after entering the correct webhook ID). the test message is visible in the weebex area I created.

Invoke-RestMethod -Uri "https://webexapis.com/v1/webhooks/incoming/YOUR_WEBHOOK_ID" -Method POST -Body '{"markdown": "Test message"}' -Headers @{"Content-Type"="application/json"}

kikanq avatar Jan 14 '24 10:01 kikanq

https://help.webex.com/en-us/article/n7i55j5/Webex-App-%7C-Markdown-formats

kikanq avatar Jan 14 '24 10:01 kikanq

Does the next step require improving the code for the weebex application?

Yes that's right. It could be based heavily on the changes in #63, however I would suggest waiting until that PR is merged since the changes aren't yet complete, so you'd be basing your changes on possibly incorrect code.

tigattack avatar Jan 14 '24 12:01 tigattack

thanks for the information. when do you expect the merge to be completed?

kikanq avatar Jan 14 '24 16:01 kikanq

Difficult to say, sorry. It's currently pending.

tigattack avatar Jan 14 '24 17:01 tigattack

Hello, I created basic notification scripts for weebex. Maybe they will be helpful to you when updating your extensive tool.

https://github.com/kikanq/Veeamnotify_webex/tree/main

kikanq avatar Jan 16 '24 18:01 kikanq