Replace a sub-element: SD.media-policy.tos-settings
put
https://cloud-native-SBC-IP/config/v1/sd/media-policy/{ElementKey}/tos-settings/{ElementKeySE}
Replace a sub-element: SD.media-policy.tos-settings
Request
Path Parameters
-
ElementKey: string
Identifier for the element
-
ElementKeySE: string
Identifier for the sub-element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
list of tos settings
Show Source
-
_elementKey: string
Read Only:
true
Identifier 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:
1
media type to match against for e.g. application|audio|image|message|text|video -
tos-value: string
a decimal or hex number
Response
Supported Media Types
- application/json
200 Response
return one sub element: TosSetting
Root Schema : schema
Type:
object
list of tos settings
Show Source
-
_elementKey: string
Read Only:
true
Identifier 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:
1
media 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:
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" ]
406 Response
Validation Failure
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" ]