Retrieve all config elements: SD.media-policy
get
https://cloud-native-SBC-IP/config/v1/sd/media-policy
Retrieve all config elements: SD.media-policy
Request
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 all config elements: MediaPolicy
Root Schema : schema
Type:
Show Source
array-
Array of:
object schema
configure a media profile and apply it to a realm
Nested Schema : schema
Type:
objectconfigure a media profile and apply it to a realm
Show Source
-
_elementKey: string
Read Only:
trueIdentifier for the element or sub-element -
name(required): string
Minimum Length:
1Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$media policy name -
rtp-ttl: integer
(int32)
Minimum Value:
0Maximum Value:255RTP Time To Live (TTL) -
tos-settings: array
tos-settings
list of tos settings
Nested Schema : tos-settings
Type:
arraylist of tos settings
Show Source
-
Array of:
object TosSetting
list of tos settings
Nested Schema : TosSetting
Type:
objectlist of tos settings
Show Source
-
_elementKey: string
Read Only:
trueIdentifier for the element or sub-element -
media-attributes: array
media-attributes
media attribute to match within SDP
-
media-sub-type: string
media sub-type to match against. If no value is entered, a wildcard is used
-
media-type(required): string
Minimum Length:
1media type to match against for e.g. application|audio|image|message|text|video -
tos-value: string
a decimal or hex number
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object-
_elementKey: string
Read Only:
trueIdentifier 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:
trueIdentifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]