Azure devops 无法通过REST API获取Azure DevOps事件
我正在尝试通过下面列出的REST API获取Azure DevOps事件:Azure devops 无法通过REST API获取Azure DevOps事件,azure-devops,azure-devops-rest-api,Azure Devops,Azure Devops Rest Api,我正在尝试通过下面列出的REST API获取Azure DevOps事件: POST https://dev.azure.com/{organization}/_apis/notification/events?api-version=5.0-preview.1 我尝试使用上述API获取事件,但在postman调用中,我得到以下响应: { "$id": "1", "innerException": null, "message": "The feature is dis
POST https://dev.azure.com/{organization}/_apis/notification/events?api-version=5.0-preview.1
我尝试使用上述API获取事件,但在postman调用中,我得到以下响应:
{
"$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
}
它应该在postman调用后提供事件您的POST方法用于发布新事件:。我找不到事件的get方法(仅:或)。也许它还没有编码:
您的POST方法用于发布新事件:。我找不到事件的get方法(仅:或)。也许它还没有编码:
您正在调用的API是一个POST操作,它将发布一个事件,但您的问题表明您希望获取事件。我认为你调用了错误的API。请参阅:您正在调用的API是一个POST操作,它将发布一个事件,但您的问题表明您希望获取事件。我认为你调用了错误的API。见: