Skip to content

Commit

Permalink
Update qod-api.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
emil-cheung authored Apr 2, 2024
1 parent cd615d5 commit 2d65ffc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,7 @@ paths:
summary: "Extend the duration of an active session"
description: |
Extend the duration of an active QoS session. If this operation is executed successfully, the new duration of the target session will be the original duration plus the additional duration.

Check failure on line 337 in code/API_definitions/qod-api.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

337:197 [trailing-spaces] trailing spaces
The new remaining duration shall not exceed the maximum duration limit. Otherwise, the new remaining duration will be set to the maximum limit. The remaining duration is calculated as the 'expiresAt' minus the current time of the extendDuration API call.
The new remaining duration shall not exceed the maximum duration limit. Otherwise, the new remaining duration will be set to the maximum limit. The remaining duration is calculated as the 'expiresAt' minus the current time of the extendDuration API call.
An example: A QoD session was orginally created with duration 80,000 seconds. 10,000 seconds later, the deveoper wants to extend the session with 20,000 seconds.

Check failure on line 339 in code/API_definitions/qod-api.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

339:170 [trailing-spaces] trailing spaces
- Original duration: 80,000 seconds
- Elapsed time: 10,000 seconds
Expand Down

0 comments on commit 2d65ffc

Please sign in to comment.