зеркало из https://github.com/Azure/hpcpack-acm.git
Update swagger file for API changes.
This commit is contained in:
Родитель
7866c085a6
Коммит
6fc739a695
|
@ -257,6 +257,9 @@ definitions:
|
||||||
Event:
|
Event:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
content:
|
content:
|
||||||
type: string
|
type: string
|
||||||
example: Dummy node event.
|
example: Dummy node event.
|
||||||
|
@ -376,11 +379,6 @@ definitions:
|
||||||
type: number
|
type: number
|
||||||
format: double
|
format: double
|
||||||
description: Job progress
|
description: Job progress
|
||||||
events:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/definitions/Event'
|
|
||||||
description: Events happened in the job
|
|
||||||
requeueCount:
|
requeueCount:
|
||||||
type: integer
|
type: integer
|
||||||
description: The number of times the job is requeued
|
description: The number of times the job is requeued
|
||||||
|
@ -792,6 +790,22 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: OK
|
description: OK
|
||||||
|
|
||||||
|
/clusrun/{id}/events:
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/parameters/jobId'
|
||||||
|
- $ref: '#/parameters/lastId'
|
||||||
|
- $ref: '#/parameters/count'
|
||||||
|
get:
|
||||||
|
summary: Get clusrun events
|
||||||
|
operationId: getClusrunEvents
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: OK
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/definitions/Event'
|
||||||
|
|
||||||
/clusrun/{id}/aggregationResult:
|
/clusrun/{id}/aggregationResult:
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/jobId'
|
- $ref: '#/parameters/jobId'
|
||||||
|
@ -937,6 +951,22 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: OK
|
description: OK
|
||||||
|
|
||||||
|
/diagnostics/{id}/events:
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/parameters/jobId'
|
||||||
|
- $ref: '#/parameters/lastId'
|
||||||
|
- $ref: '#/parameters/count'
|
||||||
|
get:
|
||||||
|
summary: Get events of a diagnostic test run
|
||||||
|
operationId: getDiagnosticEvents
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: OK
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/definitions/Event'
|
||||||
|
|
||||||
/diagnostics/{id}/aggregationResult:
|
/diagnostics/{id}/aggregationResult:
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/jobId'
|
- $ref: '#/parameters/jobId'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче