Add a sub-element: SD.session-agent.rate-constraints
post
https://cloud-native-SBC-IP/config/v1/sd/session-agent/{ElementKey}/rate-constraints
Add a sub-element: SD.session-agent.rate-constraints
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Supported Media Types
- application/json
Root Schema : schema
Type:
object
create a rate constraint for a method
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (methods per rate) -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (methods per rate) -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (methods per rate) -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (methods per rate) -
method(required): string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
Response
Supported Media Types
- application/json
200 Response
return one sub element: RateConstraints
Root Schema : schema
Type:
object
create a rate constraint for a method
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
max-inbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound burst rate (methods per rate) -
max-inbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max inbound sustained rate (methods per rate) -
max-outbound-burst-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound burst rate (methods per rate) -
max-outbound-sustain-rate: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
max outbound sustained rate (methods per rate) -
method(required): string
Allowed Values:
[ "INVITE", "ACK", "BYE", "CANCEL", "REGISTER", "OPTIONS", "PRACK", "SUBSCRIBE", "NOTIFY", "PUBLISH", "INFO", "REFER", "MESSAGE", "UPDATE" ]
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" ]