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 2d65ffc commit f5949be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,14 @@ 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.
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 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.
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.
- 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
- New duration: 96,400 seconds
operationId: extendQosSessionDuration
parameters:
- name: sessionId
Expand Down

0 comments on commit f5949be

Please sign in to comment.