Retrieve a sub-element: SD.sti-header-mapping-ruleset.mapping-rules
get
https://cloud-native-SBC-IP/config/v1/sd/sti-header-mapping-ruleset/{ElementKey}/mapping-rules/{ElementKeySE}
Retrieve a sub-element: SD.sti-header-mapping-ruleset.mapping-rules
Request
Path Parameters
-
ElementKey: string
Identifier for the element
-
ElementKeySE: string
Identifier for the sub-element
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 one sub element: StiHeaderMappingRules
Root Schema : schema
Type:
object
list of SIP and HTTP header mapping rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
direction: string
Allowed Values:
[ "outbound", "inbound" ]
-
id(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
unique identifier for the mapping rule -
role: string
Allowed Values:
[ "STI-AS", "STI-VS" ]
-
source-header: string
Pattern:
^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
name of the SIP or HTTP header to be picked from the ingress INVITE or HTTP response -
source-param: string
Pattern:
^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
SIP or HTTP header param based on the source header. If source-header is empty, this should be a key in HTTP body JSON claim -
target-header: string
Pattern:
^$|^[A-Za-z0-9@.!%*_+`'~-]+(\[(([0-9]+)|([~^]))\])?$
name of the SIP or HTTP header to be added or modified to the egress INVITE or the HTTP request -
target-param: string
Pattern:
^$|^[A-Za-z0-9@.!%*_+`'~-]+(;.+)?$
SIP or HTTP header param based on target header. If target-header is empty, this should be a key in HTTP body JSON claim
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" ]