Retrieve one config element: SD.media-sec-policy
get
https://cloud-native-SBC-IP/config/v1/sd/media-sec-policy/{ElementKey}
Retrieve one config element: SD.media-sec-policy
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Query Parameters
-
revision-id: string
Integer value of saved revision, or 'latest', 'active' to show the running config, or 'staging' to show complete configuration to be activated
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
return one config element: SrtpPolicy
Root Schema : schema
Type:
object
configure media security policy
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
inbound: object
MediaSecProfileInbound
inbound
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name -
options: string
optional features/parameters
-
outbound: object
MediaSecProfileOutbound
outbound
-
pass-through: boolean
pass-through
Nested Schema : MediaSecProfileInbound
Type:
object
inbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
hide-egress-media-update: boolean
hide changes to ingress RTP egressing into realm
-
mode: string
Allowed Values:
[ "rtp", "srtp", "any" ]
-
profile: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
profile name -
protocol: string
Allowed Values:
[ "none", "sipura", "sdes" ]
Nested Schema : MediaSecProfileOutbound
Type:
object
outbound
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
mode: string
Allowed Values:
[ "rtp", "srtp", "any" ]
-
profile: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$
profile name -
protocol: string
Allowed Values:
[ "none", "sipura", "sdes" ]
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]