Skip to content

Commit

Permalink
Return only session IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
kacper-kicinski authored Nov 20, 2023
1 parent 36bdf5f commit 2aacae2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ paths:
get:
tags:
- QoS sessions
summary: Get all active sessions information
summary: Get all active session IDs
description: Get information about all active sessions authorized to be retrieved by the provided access token.
operationId: getSessions
parameters:
Expand All @@ -237,11 +237,11 @@ paths:
$ref: "#/components/schemas/PhoneNumber"
responses:
"200":
description: Contains information about the complete list of active sessions
description: Contains information about the complete list of active session IDs
content:
application/json:
schema:
$ref: "#/components/schemas/SessionInfoList"
$ref: "#/components/schemas/SessionIdList"
"401":
$ref: "#/components/responses/Generic401"
"403":
Expand Down Expand Up @@ -464,18 +464,18 @@ components:
- expiresAt
- qosStatus

SessionInfoList:
description: List response of active sessions authorized to be retrieved by the provided access token.
SessionIdList:
description: List response of active session IDs authorized to be retrieved by the provided access token.
type: object
required:
- sessions
- sessionIds
properties:
sessions:
description: Array of sessions to be returned.
sessionIds:
description: Array of session IDs to be returned.
type: array
minItems: 0
items:
$ref: "#/components/schemas/SessionInfo"
$ref: "#/components/schemas/SessionId"

CreateSession:
description: Attributes required to create a session
Expand Down

0 comments on commit 2aacae2

Please sign in to comment.