使用REST API的Azure API管理的通知列表 [英] Notifications list for Azure API Management using REST API

查看:70
本文介绍了使用REST API的Azure API管理的通知列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否可以通过REST API将电子邮件地址添加到Azure API管理的通知列表中吗?具体来说,我希望能够添加到正在处理的订阅配额限制"中.我看到在UI中有一种方法可以做到这一点,但我正在寻找一种通过REST调用或PowerShell Commandlet(如果可能)来实现此目的的方法.

Anybody know if it's possible to add email addresses to the notification list for Azure API Mangement via a REST API? Specifically, I would like to be able to add to the "Approaching subscription quota limit". I see that there's a way to do this in the UI, but I'm looking for a way to do this via REST call or PowerShell commandlet (if possible).

推荐答案

文档仍在进行中,可能会有一些变化,但总之:

The docs are still in progress, and stuff might change a bit, but in short:

获取/notifications-获取系统中所有通知的列表

GET /notifications - get list of all notifications in system

获取/notifications/{nid}获得单个通知

GET /notifications/{nid} get single notification

获取/notifications/{nid}/收件人-获取单个通知的收件人列表

GET /notifications/{nid}/recipients - get list of recipients for single notification

获取/notifications/{nid}/收件人/电子邮件-获取订阅通知的电子邮件收件人列表

GET /notifications/{nid}/recipients/emails - get list of email recipients subscribed to notification

获取/notifications/{nid}/收件人/用户-获取订阅通知的用户收件人列表

GET /notifications/{nid}/recipients/users- get list of user recipients subscribed to notification

GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/电子邮件/{email}-获取/管理单个电子邮件收件人

GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/emails/{email} - get/manage single email recipient

GET/HEAD/PUT/DELETE/notifications/{nid}/收件人/用户/{user}-获取/管理单用户收件人

GET/HEAD/PUT/DELETE /notifications/{nid}/recipients/users/{user} - get/manage single user recipient

这篇关于使用REST API的Azure API管理的通知列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆