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
Copy file name to clipboardExpand all lines: OpenAPISpecification.yaml
+85-27Lines changed: 85 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -240,7 +240,7 @@ paths:
240
240
post:
241
241
tags:
242
242
- Docker Operations
243
-
summary: Reports the successful start of an instances to the registry
243
+
summary: Reports the successful start of an instance to the registry
244
244
description: >-
245
245
This command informs the registry about an instance that successfully
246
246
reached the state 'Running'. This is only applicable to instances
@@ -250,7 +250,7 @@ paths:
250
250
operationId: reportStart
251
251
parameters:
252
252
- in: query
253
-
name: InstanceID
253
+
name: Id
254
254
description: The ID of the instance that was started
255
255
required: true
256
256
type: integer
@@ -259,7 +259,36 @@ paths:
259
259
'200':
260
260
description: Report successfully processed.
261
261
'400':
262
-
description: Bad request, the instance with the specified ID is not deployed as a docker container.
262
+
description: >-
263
+
Bad request, the instance with the specified ID is not deployed as a
264
+
docker container.
265
+
'404':
266
+
description: ID not found on server
267
+
'500':
268
+
description: Internal server error
269
+
/reportStop:
270
+
post:
271
+
tags:
272
+
- Docker Operations
273
+
summary: Reports the manual stop of an instances to the registry
274
+
description: >-
275
+
This command informs the registry about an instance that was stopped manually, meaning not via calling /stop on the instance registry. This is only applicable to instances
276
+
running inside a docker container, as non-container instances would deregister themselves when stopped.
277
+
operationId: reportStop
278
+
parameters:
279
+
- in: query
280
+
name: Id
281
+
description: The ID of the instance that was stopped
282
+
required: true
283
+
type: integer
284
+
format: int64
285
+
responses:
286
+
'200':
287
+
description: Report successfully processed.
288
+
'400':
289
+
description: >-
290
+
Bad request, the instance with the specified ID is not deployed as a
291
+
docker container.
263
292
'404':
264
293
description: ID not found on server
265
294
'500':
@@ -280,7 +309,7 @@ paths:
280
309
operationId: reportFailure
281
310
parameters:
282
311
- in: query
283
-
name: InstanceID
312
+
name: Id
284
313
description: The ID of the instance that encountered the failure
285
314
required: true
286
315
type: integer
@@ -294,7 +323,9 @@ paths:
294
323
'200':
295
324
description: Report successfully processed.
296
325
'400':
297
-
description: Bad request, the instance with the specified ID is not deployed as a docker container.
326
+
description: >-
327
+
Bad request, the instance with the specified ID is not deployed as a
328
+
docker container.
298
329
'404':
299
330
description: ID not found on server
300
331
'500':
@@ -304,20 +335,24 @@ paths:
304
335
tags:
305
336
- Docker Operations
306
337
summary: Pauses the specified instances' docker container
307
-
description: This command pauses the docker container of the instance with the specified ID. Will change the instance state from 'Running' to 'Paused'
338
+
description: >-
339
+
This command pauses the docker container of the instance with the
340
+
specified ID. Will change the instance state from 'Running' to 'Paused'
308
341
operationId: pause
309
342
parameters:
310
343
- in: query
311
-
name: InstanceID
344
+
name: Id
312
345
description: The ID of the instance to be paused
313
346
required: true
314
347
type: integer
315
348
format: int64
316
349
responses:
317
350
'202':
318
-
description: Accepted, the operation will be completed in the future.
351
+
description: 'Accepted, the operation will be completed in the future.'
319
352
'400':
320
-
description: Bad request, the instance with the specified ID is either not running or not deployed as a docker container at all.
353
+
description: >-
354
+
Bad request, the instance with the specified ID is either not
355
+
running or not deployed as a docker container at all.
321
356
'404':
322
357
description: ID not found on server
323
358
'500':
@@ -327,20 +362,25 @@ paths:
327
362
tags:
328
363
- Docker Operations
329
364
summary: Resumes the specified instances' docker container
330
-
description: This command resumes the execution of the docker container of the instance with the specified ID. Will change the instance state from 'Paused' to 'Running'.
365
+
description: >-
366
+
This command resumes the execution of the docker container of the
367
+
instance with the specified ID. Will change the instance state from
368
+
'Paused' to 'Running'.
331
369
operationId: resume
332
370
parameters:
333
371
- in: query
334
-
name: InstanceID
372
+
name: Id
335
373
description: The ID of the instance to be resumed
336
374
required: true
337
375
type: integer
338
376
format: int64
339
377
responses:
340
378
'202':
341
-
description: Accepted, the operation will be completed in the future.
379
+
description: 'Accepted, the operation will be completed in the future.'
342
380
'400':
343
-
description: Bad request, the instance with the specified ID is either not paused or not deployed as a docker container at all.
381
+
description: >-
382
+
Bad request, the instance with the specified ID is either not paused
383
+
or not deployed as a docker container at all.
344
384
'404':
345
385
description: ID not found on server
346
386
'500':
@@ -350,20 +390,25 @@ paths:
350
390
tags:
351
391
- Docker Operations
352
392
summary: Stops the specified instances' docker container
353
-
description: This command stops the docker container of the instance with the specified ID. The instance will be properly shut down by calling its /stop command first. Will change the instance state to 'Stopped'.
393
+
description: >-
394
+
This command stops the docker container of the instance with the
395
+
specified ID. The instance will be properly shut down by calling its
396
+
/stop command first. Will change the instance state to 'Stopped'.
354
397
operationId: stop
355
398
parameters:
356
399
- in: query
357
-
name: InstanceID
400
+
name: Id
358
401
description: The ID of the instance to be stopped
359
402
required: true
360
403
type: integer
361
404
format: int64
362
405
responses:
363
406
'202':
364
-
description: Accepted, the operation will be completed in the future.
407
+
description: 'Accepted, the operation will be completed in the future.'
365
408
'400':
366
-
description: Bad request, the instance with the specified ID is either already stopped or not deployed as a docker container at all.
409
+
description: >-
410
+
Bad request, the instance with the specified ID is either already
411
+
stopped or not deployed as a docker container at all.
367
412
'404':
368
413
description: ID not found on server
369
414
'500':
@@ -373,20 +418,25 @@ paths:
373
418
tags:
374
419
- Docker Operations
375
420
summary: Starts the specified instances' docker container
376
-
description: This command starts the docker container of the instance with the specified ID. Will change the instance state from 'Stopped' to 'Running'.
421
+
description: >-
422
+
This command starts the docker container of the instance with the
423
+
specified ID. Will change the instance state from 'Stopped' to
424
+
'Running'.
377
425
operationId: start
378
426
parameters:
379
427
- in: query
380
-
name: InstanceID
428
+
name: Id
381
429
description: The ID of the instance to be started
382
430
required: true
383
431
type: integer
384
432
format: int64
385
433
responses:
386
434
'202':
387
-
description: Accepted, the operation will be completed in the future.
435
+
description: 'Accepted, the operation will be completed in the future.'
388
436
'400':
389
-
description: Bad request, the instance with the specified ID is either not stopped or not deployed as a docker container at all.
437
+
description: >-
438
+
Bad request, the instance with the specified ID is either not
439
+
stopped or not deployed as a docker container at all.
390
440
'404':
391
441
description: ID not found on server
392
442
'500':
@@ -396,28 +446,37 @@ paths:
396
446
tags:
397
447
- Docker Operations
398
448
summary: Deletes the specified instances' docker container
399
-
description: This command deletes the docker container of the instance with the specified ID. The container needs to be stopped first. This will remove any data the instance registry holds about the instance.
449
+
description: >-
450
+
This command deletes the docker container of the instance with the
451
+
specified ID. The container needs to be stopped first. This will remove
452
+
any data the instance registry holds about the instance.
400
453
operationId: delete
401
454
parameters:
402
455
- in: query
403
-
name: InstanceID
456
+
name: Id
404
457
description: The ID of the instance to be deleted
405
458
required: true
406
459
type: integer
407
460
format: int64
408
461
responses:
409
462
'202':
410
-
description: Accepted, the operation will be completed in the future.
463
+
description: 'Accepted, the operation will be completed in the future.'
411
464
'400':
412
-
description: Bad request, the instance with the specified ID is either not stopped or not deployed as a docker container at all.
465
+
description: >-
466
+
Bad request, the instance with the specified ID is either not
467
+
stopped or not deployed as a docker container at all.
0 commit comments