From the URLMapping.groovy file:
"/api/v1.0/downloads"(controller: "download", action: "apiList")
"/api/v1.0/download/$version"(controller: "download", action: "apiShow")
"/api/v1.0/publish"(controller:"repository", action:"publish")
"/api/v1.0/publish/$plugin/$version"(controller:"repository", action:"publish")
"/api/v1.0/plugins/$category?"(controller: "plugin", action: "apiList")
"/api/v1.0/plugin/$name/$version"(controller: "plugin") {
action = [GET: "apiShow", PUT: "apiUpdate"]
parseRequest = true
}
"/api/v1.0/plugin/$name"(controller: "plugin") {
action = [GET: "apiShow", PUT: "apiUpdate"]
parseRequest = true
}
"/api/v1.0/plugin/status/$name/$version"(controller: "pendingRelease", action: "status")
I'm wondering whether we should deprecate those URLs (again - I changed them once before). I don't see how versions in the URL really help matters.