microsoft / appcenter-cli

Command-line Interface (CLI) for Visual Studio App Center
https://appcenter.ms/
MIT License
582 stars 235 forks source link

Feature Request: CLI support for webhooks #2471

Closed araphiel-nf closed 8 months ago

araphiel-nf commented 9 months ago

Describe the solution you'd like

Adding CRUD operations for working with AppCenter webhooks.

/api/v0.1/apps/${{ APP_OWNER }}/${{ APP_NAME }}/alerts_webhooks
/api/v0.1/apps/${{ APP_OWNER }}/${{ APP_NAME }}/alerts_webhooks/${{ WEBHOOK_ID }}

https://github.com/microsoft/appcenter-cli/blob/9930a9d5171a780290c99f617a651d13023ed3e6/src/util/apis/generated/src/operations/webhooks.ts#L17

MikhailSuendukov commented 8 months ago

Hello @araphiel-nf and thank you for reaching out to us, could you please clarify what exactly do you mean? Do you mean the command for this request?

araphiel-nf commented 8 months ago

Hi @MikhailSuendukov — essentially porting the currently generated openapi client api for webhooks into the CLI

The api for listing them is available (but not yet added to CLI). There are few more that aren't documented via the OpenAPI spec but are freely available when looking at the network requests on AppCenter (create, update, delete)

MikhailSuendukov commented 8 months ago

Hi @araphiel-nf this API is not documented and is not officially supported, so we do not plan to add it to the CLI yet. So I'm closing this issue, but if you have any questions, feel free to reopen it.