You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @Description Register the software.<br><br>[JSON Body Example]<br>{"architecture":"x86_64","install_type":"ansible","match_names":["telegraf"],"name":"telegraf","os":"Ubuntu","os_version":"22.04","version":"1.0"}
// @Param archive formData file true "Archive file to upload for ansible."
66
-
// @Success 200 {object} model.SoftwareRegisterReq "Successfully registered the software."
67
-
// @Failure 400 {object} common.ErrorResponse "Sent bad request."
68
-
// @Failure 500 {object} common.ErrorResponse "Failed to sent SSH command."
69
-
// @Router /software/register [post]
59
+
// @ID register-software
60
+
// @Summary Register Software
61
+
// @Description Register the software.<br><br>[JSON Body Example]<br>{"architecture":"x86_64","install_type":"ansible","match_names":["telegraf"],"name":"telegraf","os":"Ubuntu","os_version":"22.04","version":"1.0"}
description: Get software migration execution list.
190
+
operationId: get-execution-list
188
191
parameters:
189
192
- description: Software info list.
190
193
in: body
@@ -215,6 +218,7 @@ paths:
215
218
consumes:
216
219
- application/json
217
220
description: Install pieces of software to target.
221
+
operationId: install-software
218
222
parameters:
219
223
- description: Software install request.
220
224
in: body
@@ -245,6 +249,7 @@ paths:
245
249
consumes:
246
250
- multipart/form-data
247
251
description: Register the software.<br><br>[JSON Body Example]<br>{"architecture":"x86_64","install_type":"ansible","match_names":["telegraf"],"name":"telegraf","os":"Ubuntu","os_version":"22.04","version":"1.0"}
252
+
operationId: register-software
248
253
parameters:
249
254
- description: Software register request JSON body string.
0 commit comments