Fisheye REST API调用:';方法不允许';存储库启动时出现错误405

Fisheye REST API调用:';方法不允许';存储库启动时出现错误405,rest,atlassian-fisheye,Rest,Atlassian Fisheye,我已经使用RESTAPI创建了一个repo,现在我也想启动它。它是启用的,所以我知道启动它是一个选项(通过GUI启动的选项是可见的) 我曾尝试在浏览器中发布此信息—— 我也尝试过使用Python脚本。发送到服务器的请求的JSON如下所示: {'Content-Length': '0', 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/json', 'Accept': 'application/json', 'Us

我已经使用RESTAPI创建了一个repo,现在我也想启动它。它是启用的,所以我知道启动它是一个选项(通过GUI启动的选项是可见的)

我曾尝试在浏览器中发布此信息——

我也尝试过使用Python脚本。发送到服务器的请求的JSON如下所示:

{'Content-Length': '0', 'Accept-Encoding': 'gzip, deflate', 'Content-Type': 'application/json', 'Accept': 'application/json', 'User-Agent': 'python-requests/2.9.1', 'Connection': 'keep-alive', 'type': 'PUT', 'Authorization': 'Basic ZasdfasdfvczpHb2VzVXAyABC='}
以下是答复:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 405 Method Not Allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /rest/api/1.0/rest-service-fecru/admin/repositories/development_services.newtools/start. Reason:
<pre> Method Not Allowed</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
</body>
</html>

错误405方法不允许
HTTP错误405
访问/rest/api/1.0/rest-service-fecru/admin/repositories/development\u services.newtools/start时出现问题。原因:
不允许使用码头供电的方法://


您使用了错误的URL和HTTP方法。你应该把请求发到

/rest服务fecru/admin/repositories-v1/