无法使用 Rest 导出 VSTS 模板 API
Unable to export VSTS template using Rest API
我正在使用以下 API 但是我无法提取模板。
我收到以下错误,我检查了进程 ID,它是正确的
{
"count": 1,
"value":{
"Message": "An error has occurred."
}
}
header信息如下:
ActivityId →58919c6e-80c8-4e23-8615-b1420c8b33d1
Cache-Control→no-cache
Content-Length →56
Content-Type→application/json;字符集=utf-8
日期 → 2018 年 3 月 15 日星期四 23:18:37 GMT
到期 →-1
P3P→CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
编译指示 →no-cache
Strict-Transport-Security→max-age=31536000;包括子域名
X-AspNet-Version →4.0.30319
X-Content-Type-选项→nosniff
X-FRAME-OPTIONS →同源
X-MSEdge-Ref →参考 A:55BDC5BAB8FB4AA9B6F57D7E425CB98F 参考 B:SYD03EDGE0409 参考 C:2018-03-15T23:18:38Z
X-Powered-By→ASP.NET
X-TFS-ProcessId→f4e9e458-9463-41a1-aee4-55eaaf18e13e
X-TFS-Session→58919c6e-80c8-4e23-8615-b1420c8b33d1
X-VSS-E2EID →58919c6e-80c8-4e23-8615-b1420c8b33d1
X-VSS-用户数据→609b16af-5515-6e7c-996d-ed1e05e49cf1:bajwa79@hotmail.com
我可以重现你的问题,并已在下面的网站提交反馈,让我们等待回复:
更新:
已回复此反馈:
In phase 2 or Inherited process model, process XML concept doesn't
exist. It is only for OnPrem XML model (in TFS) and for Hosted XML
process models. The process for which you are making this Rest API
call is an inherited process that's why it's failing. And you don't
need process XML to perform any operation you have different and easy
ways to do so in VSTS. Hope it answers your question. Let me know if
you have any other question.
我正在使用以下 API 但是我无法提取模板。
我收到以下错误,我检查了进程 ID,它是正确的
{ "count": 1, "value":{ "Message": "An error has occurred." } }
header信息如下: ActivityId →58919c6e-80c8-4e23-8615-b1420c8b33d1 Cache-Control→no-cache Content-Length →56 Content-Type→application/json;字符集=utf-8 日期 → 2018 年 3 月 15 日星期四 23:18:37 GMT 到期 →-1 P3P→CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT" 编译指示 →no-cache Strict-Transport-Security→max-age=31536000;包括子域名 X-AspNet-Version →4.0.30319 X-Content-Type-选项→nosniff X-FRAME-OPTIONS →同源 X-MSEdge-Ref →参考 A:55BDC5BAB8FB4AA9B6F57D7E425CB98F 参考 B:SYD03EDGE0409 参考 C:2018-03-15T23:18:38Z X-Powered-By→ASP.NET X-TFS-ProcessId→f4e9e458-9463-41a1-aee4-55eaaf18e13e X-TFS-Session→58919c6e-80c8-4e23-8615-b1420c8b33d1 X-VSS-E2EID →58919c6e-80c8-4e23-8615-b1420c8b33d1 X-VSS-用户数据→609b16af-5515-6e7c-996d-ed1e05e49cf1:bajwa79@hotmail.com
我可以重现你的问题,并已在下面的网站提交反馈,让我们等待回复:
更新:
已回复此反馈:
In phase 2 or Inherited process model, process XML concept doesn't exist. It is only for OnPrem XML model (in TFS) and for Hosted XML process models. The process for which you are making this Rest API call is an inherited process that's why it's failing. And you don't need process XML to perform any operation you have different and easy ways to do so in VSTS. Hope it answers your question. Let me know if you have any other question.