From f5949be20d598b57c92a9b1c987b43ca44c93d65 Mon Sep 17 00:00:00 2001 From: emil-cheung <90314555+emil-cheung@users.noreply.github.com> Date: Tue, 2 Apr 2024 18:12:35 +0800 Subject: [PATCH] Update qod-api.yaml --- code/API_definitions/qod-api.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/qod-api.yaml b/code/API_definitions/qod-api.yaml index 359442ef34..b21fa1c899 100644 --- a/code/API_definitions/qod-api.yaml +++ b/code/API_definitions/qod-api.yaml @@ -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