Add a new config element: SD.sip-recursion-policy
post
https://cloud-native-SBC-IP/config/v1/sd/sip-recursion-policy
Add a new config element: SD.sip-recursion-policy
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure SIP recursion policy
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
description: string
brief description of recursion policy usage
-
global-count: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
global count for number of total count for the configured response codes -
mode: string
Allowed Values:
[ "consecutive", "absolute" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
sip-recursion-policy list name -
sip-resp-code-attempts: array
sip-resp-code-attempts
list of SIP response code attempts
Nested Schema : sip-resp-code-attempts
Type:
array
list of SIP response code attempts
Show Source
-
Array of:
object SipRespCodeAttempts
list of SIP response code settings
Nested Schema : SipRespCodeAttempts
Type:
object
list of SIP response code settings
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attempts: integer
(int64)
Minimum Value:
1
Maximum Value:1000
Number for attempts to make -
response-code(required): integer
(int64)
Minimum Value:
300
Maximum Value:599
SIP Response Code. For e.g. 301/488/503
Response
Supported Media Types
- application/json
200 Response
return one config element: SipRecursionPolicy
Root Schema : schema
Type:
object
configure SIP recursion policy
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
description: string
brief description of recursion policy usage
-
global-count: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
global count for number of total count for the configured response codes -
mode: string
Allowed Values:
[ "consecutive", "absolute" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
sip-recursion-policy list name -
sip-resp-code-attempts: array
sip-resp-code-attempts
list of SIP response code attempts
Nested Schema : sip-resp-code-attempts
Type:
array
list of SIP response code attempts
Show Source
-
Array of:
object SipRespCodeAttempts
list of SIP response code settings
Nested Schema : SipRespCodeAttempts
Type:
object
list of SIP response code settings
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attempts: integer
(int64)
Minimum Value:
1
Maximum Value:1000
Number for attempts to make -
response-code(required): integer
(int64)
Minimum Value:
300
Maximum Value:599
SIP Response Code. For e.g. 301/488/503
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" ]