feat get registered client status (#251)

This commit is contained in:
Hoan Luu Huu
2023-11-03 18:33:03 +07:00
committed by GitHub
parent 72d2877ddf
commit 1e9f388f51
2 changed files with 71 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ tags:
description: Least Cost Routing Routes operations
- name: LcrCarrierSetEntries
description: Least Cost Routing Carrier Set Entries operation
- name: GoogleCustomVOices
- name: GoogleCustomVoices
description: Google Custom voices operation
paths:
/BetaInviteCodes:
@@ -4188,6 +4188,27 @@ paths:
type: array
items:
type: string
/Accounts/{AccountSid}/RegisteredSipUsers/{Client}:
parameters:
- name: Client
in: path
required: true
style: simple
explode: false
schema:
type: string
get:
tags:
- Accounts
summary: retrieve registered client registration
operationId: getRegisteredClient
responses:
200:
description: registered client found
content:
application/json:
schema:
$ref: '#/components/schemas/RegisteredClient'
/Lcrs:
post:
tags:
@@ -5772,6 +5793,31 @@ components:
- name
- reported_usage
- model
RegisteredClient:
type: object
properties:
name:
type: string
example: xhoaluu
contact:
type: string
example: sip:0dluqjt6@od41sl9jfc9m.invalid;transport=ws
expiryTime:
type: number
example: 1698981449173
protocol:
type: string
example: wss
registered_status:
type: string
enum:
- active
- inactive
required:
- speech_credential_sid
- name
- reported_usage
- model
security:
- bearerAuth: []