Skip to content

Commit

Permalink
Allow filtering sessions by phoneNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
kacper-kicinski authored Nov 17, 2023
1 parent 26d3bca commit 36bdf5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/API_definitions/qod-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@ paths:
summary: Get all active sessions information
description: Get information about all active sessions authorized to be retrieved by the provided access token.
operationId: getSessions
parameters:
- name: phoneNumber
in: query
required: false
description: Allows filtering of sessions by device (phone number).
schema:
$ref: "#/components/schemas/PhoneNumber"
responses:
"200":
description: Contains information about the complete list of active sessions
Expand Down Expand Up @@ -468,7 +475,6 @@ components:
type: array
minItems: 0
items:
type: object
$ref: "#/components/schemas/SessionInfo"

CreateSession:
Expand Down

0 comments on commit 36bdf5f

Please sign in to comment.