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 46a20b4 commit cd615d5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,16 @@ paths:
- QoS Sessions
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. The remaining duration plus the requested additional duration shall not exceed the maximum limit. Otherwise, the new remaining duration will be the maximum limit.
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

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

View workflow job for this annotation

GitHub Actions / MegaLinter

338:1 [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.

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

View workflow job for this annotation

GitHub Actions / MegaLinter

339:263 [trailing-spaces] trailing spaces
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 341 in code/API_definitions/qod-api.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

341:170 [trailing-spaces] trailing spaces
- Original duration: 80,000 seconds
- Elapsed time: 10,000 seconds
- Remaining duration: 70,000 seconds
- New remaining duration: 86,400 seconds
- New duration: 96,400 seconds

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

View workflow job for this annotation

GitHub Actions / MegaLinter

346:39 [trailing-spaces] trailing spaces
operationId: extendQosSessionDuration
parameters:
- name: sessionId
Expand Down

0 comments on commit cd615d5

Please sign in to comment.