Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions code/API_definitions/webrtc-call-handling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ components:
schema:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
pathParamMediaSessionId:
name: mediaSessionId
in: path
Expand All @@ -461,6 +462,7 @@ components:
schema:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
x-correlator:
name: x-correlator
in: header
Expand All @@ -483,13 +485,15 @@ components:
originatorName:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: Friendly name of the call originator
example: 'Alice'
receiverAddress:
$ref: '#/components/schemas/Address'
receiverName:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: Friendly name of the call terminator
example: 'Bob'
offer:
Expand Down Expand Up @@ -537,6 +541,7 @@ components:
mediaSessionId:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: >-
The media session ID created by the network.
example: 0AEE1B58BAEEDA3EABA42B32EBB3DFE07E9CFF402EAF9EED8EF
Expand Down Expand Up @@ -568,6 +573,7 @@ components:
sdp:
type: string
maxLength: 65536
pattern: '^[^\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+$'
description: |-
An inlined session description in SDP format [RFC4566].If XML syntax is used, the content of this element SHALL be embedded in a CDATA section
SessionStatus:
Expand Down
8 changes: 8 additions & 0 deletions code/API_definitions/webrtc-events-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ components:
RegistrationId:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: The unique identifier of the WebRTC registration.
example: ln3C-ttOSk-ObcQ7A0-tYO1LXqy

Expand All @@ -718,6 +719,7 @@ components:
type:
type: string
maxLength: 512
pattern: '^[^\x00-\x1F\x7F]+$'
description: event-type that describes type of notification
discriminator:
propertyName: "type"
Expand Down Expand Up @@ -791,6 +793,7 @@ components:
originatorName:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: Friendly name of the call originator
example: 'Alice'
receiverAddress:
Expand All @@ -802,6 +805,7 @@ components:
receiverName:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: Friendly name of the call terminator
example: 'Bob'
status:
Expand Down Expand Up @@ -833,11 +837,13 @@ components:
mediaSessionId:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: The media session ID created by the network. The mediaSessionId shall not be included in POST requests by the client, but must be included in the notifications from the network to client.
example: '0AEE1B58BAEEDA3EABA42B32EBB3DFE07E9CFF402EAF9EED8EF'
reason:
type: string
maxLength: 2048
pattern: '^[^\x00-\x1F\x7F]+$'
description: The description of the event that has happened within the session
sequenceNumber:
type: integer
Expand Down Expand Up @@ -877,6 +883,7 @@ components:
sdp:
type: string
maxLength: 65536
pattern: '^[^\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+$'
description: |-
An inlined session description in SDP format [RFC4566].If XML syntax is used, the content of this element SHALL be embedded in a CDATA section

Expand Down Expand Up @@ -952,6 +959,7 @@ components:
terminationDescription:
type: string
maxLength: 2048
pattern: '^[^\x00-\x1F\x7F]+$'
description: Human-readable explanation of why the registration was terminated
terminationReason:
$ref: "#/components/schemas/RegistrationTerminationReason"
Expand Down
2 changes: 2 additions & 0 deletions code/API_definitions/webrtc-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ components:
schema:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
schemas:
XCorrelator:
description: Correlator string, UUID format recommended but any string matching the pattern can be used
Expand Down Expand Up @@ -561,6 +562,7 @@ components:
registrationId:
type: string
maxLength: 256
pattern: '^[^\x00-\x1F\x7F]+$'
description: The registration session ID is returned when registering a device with the network . Clients must utilize this ID to as a parameter in the call-handling and subscription APIs.
expiresAt:
type: string
Expand Down
Loading