尝试使用Release Definitions Rest api时出现500错误 [英] 500 error when trying to use Release Definitions Rest api
问题描述
我正在尝试使用vsrm rest api进行发布定义。当我执行这样的查询https:// {account} .vsrm.visualstudio.com / defaultcollection / {project} / _apis / release / definitions?api-version = 3.0-preview.1 with 我们的帐户和项目 它的工作原理。
但是当我尝试扩展这样的环境时 https:// {account} .vsrm.visualstudio.com / defaultcollection / {project} / _apis / release / definitions?api-version = 3.0-preview.1& $ expand = environments我收到500错误。我正在关注文件
here- https://www.visualstudio.com/en-us/docs/integrate/api/rm/definitions 并且不确定我们为什么要打500.有人可以帮助识别问题?
非常感谢任何帮助。谢谢。
Hello Praneeth ,
我建议您尝试此请求并告诉我们反馈。
expand = environments& api-version = 3.0-preview.1 "
它与您在环境中使用的有点不同。
希望这有帮助。
问候,
I'm trying to use vsrm rest api for release definitions. When I do a query like this https://{account}.vsrm.visualstudio.com/defaultcollection/{project}/_apis/release/definitions?api-version=3.0-preview.1 with our account and project it works. But when I try to do an expand on environments like this https://{account}.vsrm.visualstudio.com/defaultcollection/{project}/_apis/release/definitions?api-version=3.0-preview.1&$expand=environments I get a 500 error. I'm following documentation here- https://www.visualstudio.com/en-us/docs/integrate/api/rm/definitions and not sure why we are hitting a 500. Can someone help identify the issue?
Any help is greatly appreciated. Thank you.
Hello Praneeth,
I would suggest you to try this request and let us know the feedback.
"https://{account}.vsrm.visualstudio.com/defaultcollection/{project}/_apis/release/definitions?
expand=environments&api-version=3.0-preview.1"Its little bit different then what you are using with environment.
Hope this helps.
Regards,
这篇关于尝试使用Release Definitions Rest api时出现500错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!