簡體   English   中英

如何使用REST API重建nexus存儲庫元數據?

[英]How to rebuild nexus repository metadata using REST API?

我在REST API中找到了/ service / local / metadata / {domain} / {target} / content。

但是當我嘗試執行它時(例如使用curl)

curl -v --request DELETE  --user "login:password"  --silent http://nexusHost/local/metadata/repositories/myRepository/content

我收到此消息,但工作尚未完成

HTTP/1.1 405 La m�thode HTTP DELETE n''est pas support�e par cette URL

你能幫我做這個工作嗎? 謝謝。

注意:使用Nexus 2.11.3-01

您只是拼錯了您的要求! (您忘記在本地添加服務/

curl -v --request DELETE  --user "login:password"  --silent http://nexusHost/service/local/metadata/repositories/myRepository/content

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM