diff --git a/api/mirror.go b/api/mirror.go index 3b3d721f5..42510fc48 100644 --- a/api/mirror.go +++ b/api/mirror.go @@ -329,20 +329,20 @@ func apiMirrorsPackages(c *gin.Context) { // @Consume json // @Produce json // @Param name path string true "mirror name to update" -// @Param Name query string false "change mirror name" -// @Param ArchiveURL query string false "ArchiveURL" -// @Param Filter query string false "Filter" -// @Param Architectures query []string false "Architectures" -// @Param Components query []string false "Components" -// @Param Keyrings query []string false "Keyrings" -// @Param FilterWithDeps query bool false "FilterWithDeps" -// @Param DownloadSources query bool false "DownloadSources" -// @Param DownloadUdebs query bool false "DownloadUdebs" -// @Param SkipComponentCheck query bool false "SkipComponentCheck" -// @Param IgnoreChecksums query bool false "IgnoreChecksums" -// @Param IgnoreSignatures query bool false "IgnoreSignatures" -// @Param ForceUpdate query bool false "ForceUpdate" -// @Param SkipExistingPackages query bool false "SkipExistingPackages" +// @Param Name body string false "change mirror name" +// @Param ArchiveURL body string false "ArchiveURL" +// @Param Filter body string false "Filter" +// @Param Architectures body []string false "Architectures" +// @Param Components body []string false "Components" +// @Param Keyrings body []string false "Keyrings" +// @Param FilterWithDeps body bool false "FilterWithDeps" +// @Param DownloadSources body bool false "DownloadSources" +// @Param DownloadUdebs body bool false "DownloadUdebs" +// @Param SkipComponentCheck body bool false "SkipComponentCheck" +// @Param IgnoreChecksums body bool false "IgnoreChecksums" +// @Param IgnoreSignatures body bool false "IgnoreSignatures" +// @Param ForceUpdate body bool false "ForceUpdate" +// @Param SkipExistingPackages body bool false "SkipExistingPackages" // @Success 200 {object} task.ProcessReturnValue "Mirror was updated successfully" // @Success 202 {object} task.Task "Mirror is being updated" // @Failure 400 {object} Error "Unable to determine list of architectures"