我正在尝试通过下面列出的REST API获取Azure DevOps事件:
POST https://dev.azure.com/{organization}/_apis/notification/events?api-version=5.0-preview.1
我尝试使用上述API来获取事件,但在邮递员呼叫中,我得到的响应如下:
{
"$id": "1",
"innerException": null,
"message": "The feature is disabled. Contact your Azure DevOps Server administrator.",
"typeName": "Microsoft.TeamFoundation.Framework.Server.FeatureDisabledException, Microsoft.TeamFoundation.Framework.Server",
"typeKey": "FeatureDisabledException",
"errorCode": 0,
"eventId": 3000
}
应该在邮递员接到电话后发出事件
答案 0 :(得分:0)
您的POST方法用于发布新事件:Events - Publish Event。我找不到事件的get方法(仅:Event Types - Get或Event Types - List)。也许还没有编码: