Add a new config element: SD.sti-heartbeat-config
post
https://cloud-native-SBC-IP/config/v1/sd/sti-heartbeat-config
Add a new config element: SD.sti-heartbeat-config
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure global parameters for STIR/SHAKEN heartbeat message
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
sti-dest-tn-number: string
This number is used as called party TN number to send the STIR request
-
sti-div-tn-number: string
This number is used as called party div TN number to send the STIR request
-
sti-heartbeat-msg-interval-time: integer
(int32)
Minimum Value:
1
Maximum Value:3600
Heartbeat message interval time in seconds for sending a dummy request during the open/half-open state of the circuit breaker. -
sti-heartbeat-state: boolean
If enabled, the cnSBC performs Heartbeat (Ping) functionality to all STIR servers, except those with the sti-heartbeat-state flag disabled.
-
sti-orig-tn-number: string
This number is used as calling party number to send the STIR request
Response
Supported Media Types
- application/json
200 Response
return config element: StiHeartbeatConfig
Root Schema : schema
Type:
object
configure global parameters for STIR/SHAKEN heartbeat message
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
sti-dest-tn-number: string
This number is used as called party TN number to send the STIR request
-
sti-div-tn-number: string
This number is used as called party div TN number to send the STIR request
-
sti-heartbeat-msg-interval-time: integer
(int32)
Minimum Value:
1
Maximum Value:3600
Heartbeat message interval time in seconds for sending a dummy request during the open/half-open state of the circuit breaker. -
sti-heartbeat-state: boolean
If enabled, the cnSBC performs Heartbeat (Ping) functionality to all STIR servers, except those with the sti-heartbeat-state flag disabled.
-
sti-orig-tn-number: string
This number is used as calling party number to send the STIR request
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" ]