Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyione committed Jun 28, 2020
1 parent 7720293 commit d6223f9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/api/v2/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ info:
description: >
Open Platform for AI RESTful API docs.
Version 2.0.1: add more examples and fix typos
Version 2.0.2: update job detail and job attempt schema
license:
name: MIT License
url: 'https://github.com/microsoft/pai/blob/master/LICENSE'
version: 2.0.1
version: 2.0.2
externalDocs:
description: Find out more about OpenPAI
url: 'https://github.com/microsoft/pai'
Expand Down Expand Up @@ -2015,7 +2016,6 @@ components:
- retries
- createdTime
- completedTime
- appId
- appLaunchedTime
- appCompletedTime
- appExitCode
Expand Down Expand Up @@ -2055,9 +2055,11 @@ components:
- UNKNOWN
containerId:
type: string
nullable: true
description: uid of the task container
containerIp:
type: string
nullable: true
description: ip of the task container
containerPorts:
type: object
Expand Down Expand Up @@ -2283,14 +2285,17 @@ components:
type: string
originState:
type: string
nullable: true
maxAttemptCount:
type: integer
attemptIndex:
type: integer
nullable: true
jobStartedTime:
type: integer
attemptStartedTime:
type: integer
nullable: true
attemptCompletedTime:
type: integer
nullable: true
Expand Down Expand Up @@ -2441,6 +2446,7 @@ components:
- UNKNOWN
containerId:
type: string
nullable: true
containerIp:
type: string
containerGpus:
Expand Down

0 comments on commit d6223f9

Please sign in to comment.